SMS Formating

SMS Formating SearchSearch
Author Message
Shahaz Roy
New member
Username: Shahazroy

Post Number: 2
Registered: 07-2012
Posted on Sunday, July 15, 2012 - 07:22 pm:   

Hi,

When I send email (Plain Text) using SMTP to NowSMS. SMS Formating is not kept on user end while it is received on mobile.

like (Enter) at the end of Email Line. next line starts e.g. Below;

Email Format:

11111;
22222

SMS Received:

11111;22222


can you help.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4033
Registered: 08-2008
Posted on Tuesday, July 17, 2012 - 10:15 pm:   

Hi,

Actually what you should receive is:

11111; 22222

(Line break replaced with a space.)

Line breaks (and general white space) are often arbitrary in e-mail messages. As the number of characters in an SMS is limited, any white space in an e-mail message is reduced to a single space character when converted to SMS.

If you are submitting e-mail to SMS via an automated program, and wish to include a line break, include \r\n in the text of the e-mail, and NowSMS will substitute a line break in the resulting SMS.


--
Des
NowSMS Support
Shahaz Roy
New member
Username: Shahazroy

Post Number: 6
Registered: 07-2012
Posted on Sunday, July 22, 2012 - 10:25 am:   

Thanks, it is resolved by adding \r\n in the email after every line.