download mail attachment with Java
Posted
by Don
on Stack Overflow
See other posts from Stack Overflow
or by Don
Published on 2008-09-30T23:02:53Z
Indexed on
2010/05/04
15:18 UTC
Read the original article
Hit count: 248
Hi,
I had a look in the reference doc, and Spring seems to have pretty good support for sending mail. However, I need to login to a mail account, read the messages, and download any attachments. Is downloading mail attachments supported by the Spring mail API?
I know you can do this with the Java Mail API, but in the past I've found that very verbose and unpleasant to work with.
EDIT: I've received several replies pointing towards tutorials that describe how to send mail with attachments, but what I'm asking about is how to read attachments from received mail.
Cheers, Don
© Stack Overflow or respective owner