I’m using the ComposeEmailSMS sample app in CoronaSDK/SampleCode/Networking
-- onRelease listener for 'sendEmail' button local function onSendEmail( event ) -- compose an HTML email with two attachments local options = { to = { "john.doe@somewhere.com", "jane.doe@somewhere.com" }, cc = { "john.smith@somewhere.com", "jane.smith@somewhere.com" }, subject = "My High Score", isBodyHtml = false, --true, --body = [[\<html\>\<body\>I scored over \<b\>9000\</b\>!!! Can you do better?\</body\>\</html\> body = [[this is more text this is even more text this is a lot more text]], attachment = { { baseDir=system.ResourceDirectory, filename="email.png", type="image" }, { baseDir=system.ResourceDirectory, filename="coronalogo.png", type="image" }, }, } local result = native.showPopup("mail", options) if not result then print( "Mail Not supported/setup on this device" ) native.showAlert( "Alert!", "Mail not supported/setup on this device.", { "OK" } ); end -- NOTE: options table (and all child properties) are optional end
I think I see the problem, its .isBodyHtml not .isBodyHTML it appears!
Rob