0

Insert paragraphs/line breaks into email button?

Does anyone know how to create paragraphs please?

I have a button that opens an email using openURL and mailto:, and inserts the text - some of which is in the code, other bits are pulled from table fields - into the email.

It is working, as in operating correctly, but there are no paragraphs or line breaks, it just runs all the text together. Any ideas?

This is my code:

openURL("mailto:" + Customer.'Customer Email' + "?" + "&" + "&subject=" + Status + "&" + "body=" + "Hi " + Customer.'Customer Name' + ","

+ "*AUTOMATED EMAIL*” +
“There has been a status change with your job today (" + today() + ").
" + 'Bike / Item' + " | " + 'Reference #' + "
New Status: " + Status + "
Estimated Completion Date: " + 'Completion Date')

1 reply

null
    • Anna_Wenlock
    • 2 yrs ago
    • Reported - view

    Oh, I should mention that it does it correctly with line breaks if generated using the Ninox sendEmail function, just not the openURL with mailto one.

Content aside

  • 2 yrs agoLast active
  • 1Replies
  • 114Views