Author Topic: Multiple lines in email message text  (Read 2860 times)

Chas@RKR

  • Newbie
  • *
  • Posts: 2
  • Classic Hits are the best
    • Red Kite Radio
Multiple lines in email message text
« on: November 13, 2017, 07:29:59 pm »
Hi,
I need to include three lines in my email message text for sending through an SMS gateway.

I have tried entering the line like

First line ^CRLF Second Line ^CRLF Third line

but it all comes as one line in the email.

This should be simple but I can't remember how to include a Carriage Return & Line Feed character within a plain text message.

Any help gratefully received.

Cheers

Chas.

Jan

  • Hero Member
  • *****
  • Posts: 1055
Re: Multiple lines in email message text
« Reply #1 on: November 13, 2017, 07:44:29 pm »
Correct tag for this case is %br

Chas@RKR

  • Newbie
  • *
  • Posts: 2
  • Classic Hits are the best
    • Red Kite Radio
Re: Multiple lines in email message text
« Reply #2 on: November 13, 2017, 07:52:14 pm »
Jan, you're a STAR!

Thanks, worked like a charm.

Entering

first line %br second line %br third line

Results in

first line
second line
third line.

I use fastsms.co.uk to send an email to an SMS and it needs the three lines containing ID, Token and Text.

This now works like a charm.

Hope it helps others.

Chas.