Hi,
If I build a mail “body” with text that has newlines, like “foo\nfum”, it displays as two lines in a mail popup on iOS and on most Androids … but not on a Kindle Fire. There, it (and “foo\n\nfum”) appear as “foo fum”
(i.e., the line breaks (newlines) are being ignored on the Kindle Fire.)
I’m about to implement a workaround: use “html” style email if I’m on kindle (I’d emit: “foo<br>fum”),
but I was wondering if anyone had found a better/simpler solution.
https://forums.coronalabs.com/topic/57025-sending-an-email-from-corona/
had this problem some years ago, but apparently found no solution.
I’m doing:
build\_sabout (true) -- 20 lines of text with newlines (\n) separating them local options = { to = "sieler@allegro.com", subject = "photolinx info", body = sabout, listener = bh\_mail\_event, } rslt = native.showPopup ("mail", options)
thanks,
Stan