wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes Sending HTML Body content as email using SMTP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Sending HTML Body content as email using SMTP" Watch "Sending HTML Body content as email using SMTP" New topic
Author

Sending HTML Body content as email using SMTP

Mariya Antony christopher
Ranch Hand

Joined: Jan 24, 2012
Posts: 49

Hi,
Iam developing the application in that sending mail to respective person based on certain criteria,while sending mail it contains normal textual messages only.I need to sent HTML body content with css design is't possible in SMTP or any third party tools is needed!
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
SMTP and JavaMail do support MIME (a.k.a. HTML) Mails. The JavaEnterpriseEditionFaq links to a JavaMail tutorial that explains how to do that.
 
jQuery in Action, 2nd edition
 
subject: Sending HTML Body content as email using SMTP
 
Similar Threads
Blank Email Notification
Sending Mail in HTML for mat with Attachemnt
the mails are goes to Badmail folder of the host
problem in sending mail using jsp
Receiving e-mails using SMTP