dcsimg
Hi friends, How to send "Html" format message using java mail???????????
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Nandakumar_Adikesavan
Posted On:   Wednesday, December 19, 2001 10:27 PM

I can able to send ".txt" messages thru javamail. I want to send ".html" format message thru java mail. If u have any idea. pls, reply me....!!!

Re: Hi friends, How to send "Html" format message using java mail???????????

Posted By:   Anonymous  
Posted On:   Thursday, December 20, 2001 05:02 AM

..
sendHtml(String message)
..
MimeBodyPart mbp = new MimeBodyPart();
mbp.setContent(message, "text/html");
simply add the body part and do the rest..
To add images for pages you can attach them, but you have to relate them to tag ids
About | Sitemap | Contact