Line breaks and tabs in a plain text email template?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • teedle
    Mini Mivite

    • Mar 2017
    • 53

    #1

    Line breaks and tabs in a plain text email template?

    I'm trying to replicate the old text email notification. I removed html, and set the mail's mime type to "text/plain." But the loops that make the order information are putting it all in one line, and the \n's and \t's are showing up in the email itself. I must be missing something . . .
    thank you
  • Jonathan-Driftwood
    Mini Mivite


    • Mar 2006
    • 98

    #2
    Try replacing the line returns with asciichar(0D) and/or asciichar(0A) instead. Define the character and you can avoid issues...

    Comment

    Working...
    X