Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Sending HTML Body content as email using SMTP  RSS feed

 
Mariya Antony christopher
Ranch Hand
Posts: 49
Hibernate Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Saloon Keeper
Posts: 3830
79
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SMTP and JavaMail do support MIME (a.k.a. HTML) Mails. The JavaEnterpriseEditionFaq links to a JavaMail tutorial that explains how to do that.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!