mobileComposeHtmlMail - Will not allow CR? - Solved
Posted: Sat Feb 18, 2017 1:18 am
I am trying to put a small summary report in the body of an email, but I am not able to move my text to the next line.
My code is as follows:
global tEmailBody
on mouseUp
put "Person: " & "David" & cr & "Allergen: " & " Water" & cr & "Severity: " & "Mild" & cr & "Reaction: " & "Rash" & cr & "Note: " & "None" into tEmailBody
if mobileCanSendMail () is true then
put empty into tAttachment["data"]
put "text/plain" into tAttachment["type"]
put "Greetings.txt" into tAttachment["name"]
mobileComposeHtmlMail "Report Summary ", "davidwhiteapps@gmail.com",,,tEmailBody,tAttachment
end if
end mouseUp
The text int the body of the email shows up as one continuous string.
What am I doing wrong?
Thanks,
David
My code is as follows:
global tEmailBody
on mouseUp
put "Person: " & "David" & cr & "Allergen: " & " Water" & cr & "Severity: " & "Mild" & cr & "Reaction: " & "Rash" & cr & "Note: " & "None" into tEmailBody
if mobileCanSendMail () is true then
put empty into tAttachment["data"]
put "text/plain" into tAttachment["type"]
put "Greetings.txt" into tAttachment["name"]
mobileComposeHtmlMail "Report Summary ", "davidwhiteapps@gmail.com",,,tEmailBody,tAttachment
end if
end mouseUp
The text int the body of the email shows up as one continuous string.
What am I doing wrong?
Thanks,
David