09-14-2009 01:58 PM - edited 09-15-2009 06:51 AM
Does anybody know how to add HTML to an email using the java api.
I am tried something like this but its not working.
String content = "Content-Type: text/html; charset=\"iso-8859-1\"\n" +"Content-Transfer-Encoding: 7bit\n\n" +
.......content += "</table></body></html>";
Multipart mp = new Multipart();
BodyPart mbp = new MimeBodyPart(mp);
07-11-2010 01:38 PM
sending HTML as attachments seems to be good for a PC viewing but not really good
for blackberry viewing.
Blackberry isn't really good when rendering HTML attachment,
don't understand why since if I send the same HTML code in a HTML mail format it renders well...