wood burning stoves 2.0*
The moose likes Java in General and the fly likes Multiple attachemnts using java Mail API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Multiple attachemnts using java Mail API" Watch "Multiple attachemnts using java Mail API" New topic

Multiple attachemnts using java Mail API

Lokachari Paidakula

Joined: Nov 16, 2001
Posts: 7
I have an requirement that I should upload more than one file using java mail API and send it to the intended receipients.
Is there any java code available using Java mail API for multiple attachments. Please let me know.
Thanks in Advance
R Jelda

Joined: May 13, 2002
Posts: 26
You just make use of MultiPart.
Its not so hard to implement urself.

"If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas." -George Bernard Shaw
I agree. Here's the link: http://aspose.com/file-tools
subject: Multiple attachemnts using java Mail API
Similar Threads
Java Mail
java mail:How to send CC & BCC?
sending mail with JAVA API
Automated mail from the recepient
Tracing the anonymous mails