*
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).
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: extract attachment from email...