HTML Email

25 views
Skip to first unread message

Bryan Buchanan

unread,
Nov 19, 2016, 7:55:10 PM11/19/16
to CodenameOne Discussions
Wondering if anyone has successfully managed to send HTML formatted email from Android (using Gmail app). It seems to strip most HTML formatting (in particular <table>), but leaves <h1> etc, <br>.

I set the mime-type correctly in CN1.

This isn't a CN1 problem - Googling comes up with quite a few people saying there are problems, but they seem to indicate <table> should work.

Shai Almog

unread,
Nov 20, 2016, 12:37:40 AM11/20/16
to CodenameOne Discussions
HTML mail is very problematic in general. Other than basic formatting almost nothing is guaranteed to work...

If you really need a table you can attach a csv file which should work for most cases.

Bryan Buchanan

unread,
Nov 20, 2016, 2:27:32 AM11/20/16
to CodenameOne Discussions
Ended up making the email plain text and adding an attachment as text/html which seems to work fine.
Reply all
Reply to author
Forward
0 new messages