Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sending Attached excel file through java mail

 
Balajipsg Raja
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Could you please help me........
I want to send attached Excel file through Java Mail. For Example My Excel file is located in c:\\testing folder .Could you provide coding ......

Thanks in Advance
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, JavaRanch is not here for you to ask for code. Read this for example: NotACodeMill.

However you are in luck. When you download JavaMail it comes with a folder of sample programs, including an example of how to send e-mail messages including attachments.
 
Dipse smith
Greenhorn
Posts: 5
 
salvin francis
Bartender
Posts: 1309
10
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Attaching an excel file is no different from attaching any other file in java mail

as Paul Clapham rightfully said, check the examples that are in the sample programs
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic