[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JavaMail, apply text format
itsme
do-not-reply at jboss.com
Wed Apr 30 04:35:20 EDT 2008
Two ways:
1. Use MimeMessage.setContent(Content, MimeType) where Content should some formatted text (i.e. html) and MimeType the corresponding MimeType (i.e. text/html)
2. Use MimeBody/MimeMultiPart as Content of the MimeMessage. The settings of the correct MimeType for your formatted text content applies here as well.
Hope this helps.
\sandor\
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147744#4147744
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147744
More information about the jboss-user
mailing list