Anyone know how to get carriage returns or line feeds to an email?

When I send a variable to the body of an email from within my app the “\n” is ignored and everything appears on the same line.

For example:

local results = "Line one, \nLine two, \nLine three." local options = { subject = "This is a test", isBodyHtml = true, body = results, } native.showPopup("mail", options) 

If I use the above code, the body of the email displays as one line, not 3 separate lines.

Anyone with any ideas how to solve this?

Thanks,

Guy

Never mind! I just figured it out…

remove the isBodyHTML = true, line and the “\n” is recognized in the email body.

-Guy

Never mind! I just figured it out…

remove the isBodyHTML = true, line and the “\n” is recognized in the email body.

-Guy