This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android this week in the Android 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: 502

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: 20049
    
  30

You can add a BodyPart with the message as content:


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
 
subject: Attach multiple emails to one master email using Java mail API
 
It's not a secret anymore!