Special symbols in sms, sent via email

Special symbols in sms, sent via email SearchSearch
Author Message
Alexey
New member
Username: Korn3r

Post Number: 1
Registered: 04-2015
Posted on Monday, April 27, 2015 - 02:08 pm:   

Hello. We have problem sending SMS via Email`s. All EOL (End Of Line) symbols are converted to spaces.
So we get "1 2 3" instead of
1
2
3
Tried to change email codepage to UTF-8, but it didnt help.

Everything is ok if sent via Web Interface
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5276
Registered: 08-2008
Posted on Monday, April 27, 2015 - 02:45 pm:   

Hi Alexey,

this behavior is because lie breaks are often arbitrary in email messages. Any whit space gets reduced to a single white space.

If you are submitting messages programmatically and wish to force a line break, you can include an escape sequence.

--
Des
NowSMS Support
Alexey
New member
Username: Korn3r

Post Number: 2
Registered: 04-2015
Posted on Monday, April 27, 2015 - 02:59 pm:   

Problem is that we use special software, that configured to send emails to different recepients (both sms via NowSMS and regular emails), without ability to make multiple email configurations. So if we add escape sequences in email body, then it will be ok with sms recepients, but not with regular email recepients.
Isnt there option to automatically translate newline symbol into \n escape sequence in NowSMS itself?

ps
Sorry for my English
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5278
Registered: 08-2008
Posted on Monday, April 27, 2015 - 07:37 pm:   

Hi Alexey,

I understand what you are saying. Unfortunately, NowSMS removes what it considers to be unnecessary white space when converting from email to SMS, and line breaks become a single space.

The only solution at present is to include the escape sequence \r\n in the text of the email. (And yes, if the same email is sent to both regular email and SMS recipients, it will look wrong in email, so this may not be a good solution for you.)

I have discussed this with our engineering team, and we agree that there should be an option to disable white space/line break removal. So there will be a config option added for this in the next interim update, which is planned for Wednesday of next week (May 6).


--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5285
Registered: 08-2008
Posted on Monday, May 04, 2015 - 03:09 pm:   

Hi Alexey,

Here is a link for the update I promised.

NowSMS Full Version: http://www.nowsms.com/download/nowsms20150427.zip
NowSMS Lite: http://www.nowsms.com/download/lite20150427.zip

To update, run the install EXE in the ZIP.

To enable the setting to preserve line breaks when converting from email to SMS, it is necessary to manually edit MMSC.INI, and under the [MMSC] header, add:

SMSEMailFilterWhiteSpace=No

--
Des
NowSMS Support
Alexey
New member
Username: Korn3r

Post Number: 3
Registered: 04-2015
Posted on Tuesday, May 05, 2015 - 09:19 am:   

Thank you. Everything is working fine now.