This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes downloading attachments with javamail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "downloading attachments with javamail" Watch "downloading attachments with javamail" New topic
Author

downloading attachments with javamail

vignesh krishnan
Greenhorn

Joined: Feb 03, 2010
Posts: 10
I would like to know if its possible to download attachments such as word files from the inbox and save it as a word document .
Thank you for your help.


Learn as if you will live forever
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Yes, it is.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

I suppose it's possible that you might have more than a theoretical question. In case you were interested in how to do that, go to the JavaMail section of the Ranch's JavaEnterpriseEditionFaq and follow some of the links there. Also there are example programs in the JavaMail download.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: downloading attachments with javamail