This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes extract attachment from email... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "extract attachment from email..." Watch "extract attachment from email..." New topic
Author

extract attachment from email...

sin sai
Greenhorn

Joined: Jun 19, 2002
Posts: 10
with java, how do i extract attachment from emails? what sun package(s) are needed? 3rd party packages? code sample would be appreciated.
thank you...


sin sai
raimondas zemaitis
Ranch Hand

Joined: Feb 23, 2001
Posts: 104
you need Java Mail API, look in Sun's site
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
Even O'Reilly has some example code for multi-part messages. Navigate from www.onjava.com


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: extract attachment from email...
 
It's not a secret anymore!