A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other JSE/JEE APIs
Attach multiple emails to one master email using Java mail API
Joined: Jan 08, 2004
Jul 31, 2012 07:27:27
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.
Using JAVA API is it possible to attach multiple emails to one email?
Nam Ha Minh
Joined: Oct 31, 2011
Jul 31, 2012 07:44:07
I don't understand what is master email. Can you explain?
Job Offer: Online working Java technical writing
Joined: Oct 27, 2005
Jul 31, 2012 12:57:01
You can add a
with the message as content:
BodyPart bp = new MimeBodyPart(); bp.setContent(message, "message/rfc822");
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
It is sorta covered in the
JavaRanch Style Guide
subject: Attach multiple emails to one master email using Java mail API
Email as attachment
Correspondence MS Market Value?
Send Encrypted Emails
Email zip attachments
Need Open Source email sending application
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013