This code works fine on IOS & the email created has it body in formatted html.
When I run on Android (Nexus 7) the HTML comes out as just text, and not html formatted at all.
Any ideas why?
local centerX = display.contentCenterX local centerY = display.contentCenterY local \_W = display.contentWidth local \_H = display.contentHeight -- Require the widget library local widget = require( "widget" ) local emailImage = display.newImage( "email.png", centerX, 156 ) local function onSendEmail( event ) local options = { to = { }, cc = { }, subject = "Test", isBodyHtml = true, body = [[ \<html\> \<head\> \</head\> \<body\> \<table border="1"\> \<tbody\> \<tr\> \<th\>Table header\</th\> \<th\>Table header\</th\> \</tr\> \<tr\> \<td\>Table cell 1\</td\> \<td\>Table cell 2\</td\> \</tr\> \<tr\> \<td\>Table cell 3\</td\> \<td\>Table cell 4\</td\> \</tr\> \</tbody\> \</table\> \</body\> \</html\> ]], } local result = native.showPopup("mail", options) end local sendEmail = widget.newButton { left = 0, top = 0, width = 298, height = 56, label = "Compose Email", onRelease = onSendEmail } -- center horizontally on the screen sendEmail.x = centerX sendEmail.y = \_H - 156