This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Attach multiple emails to one master email 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 » Other JSE/JEE APIs
Bookmark "Attach multiple emails to one master email using Java mail API" Watch "Attach multiple emails to one master email using Java mail API" New topic
Author

Attach multiple emails to one master email using Java mail API

Arup Sarkar
Greenhorn

Joined: Jan 08, 2004
Posts: 3
Hi,

I am using Java API to send email using our corporate microsoft exchange server. Everything is working fine, now I have a requirement to attach multiple emails to one master email and send.

Question:
Using JAVA API is it possible to attach multiple emails to one email?

Regards,
Arup
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 498

I don't understand what is master email. Can you explain?


PM Me If You Want to get Urgent Help on Java Programming
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19649
    
  18

You can add a BodyPart with the message as content:


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
jQuery in Action, 2nd edition
 
subject: Attach multiple emails to one master email using Java mail API
 
Similar Threads
Send Encrypted Emails
Email as attachment
Need Open Source email sending application
Email zip attachments
Correspondence MS Market Value?