Email-to-SMS format | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through October 31, 2007 ⬆ |
◄ ► |
Author | Message | |||
Diego Quevedo New member Username: Doqb Post Number: 1 Registered: 07-2007 |
Hello... I am trying to configure nowSMS v2007.06.27 to send and receive mails from/to SMS. I have a SMPP connection to my SMSC. The problem I face is with the format of the text displayed on the phone when it comes from Email. Here is one example: Mail type: text source: abc@mail.com subject: "hello" text: "this is a test" WHAT THE PHONE DISPLAYS IS: "abc /hello /this is a test" As I seen in other system it should show something like this: "abc@mail.com (hello) this is a test" debug shown in MMSDEBUG.LOG 12:02:13:955 [7] ThreadRouteSMTPIn: 13BD4082.RFC 12:02:13:955 [7] ThreadRouteSMTPIn: X-MMSC-RCPT-TO: SMS:50122 12:02:13:955 [7] ThreadRouteSMTPIn: X-MMSC-Auth-User: email 12:02:13:955 [7] ThreadRouteSMTPIn: X-MMSC-Received-From: 192.168.9.100 12:02:13:955 [7] ThreadRouteSMTPIn: From: <abc@mail.com> 12:02:13:955 [7] ThreadRouteSMTPIn: To: <50122@sms-test.com> 12:02:13:955 [7] ThreadRouteSMTPIn: Subject: hello} 12:02:13:955 [7] ThreadRouteSMTPIn: Content-Type: multipart/alternative; 12:02:13:965 [7] ParseAttachmentsFromInboundMessage: Skipping , content type text/html 12:03:25:768 [1] ThreadProcessConnection: Thread started 12:03:25:768 [1] ThreadProcessConnectionSMTP: Processing SMTP connection from 192.168.9.100... 12:03:25:768 [1] SendCommand: 220 SMTP Ready 12:03:25:768 [1] ThreadProcessConnectionSMTP: 220 SMTP Ready 12:03:25:768 [1] ThreadProcessConnectionSMTP: EHLO mbdquevedo 12:03:25:768 [1] SendCommand: 250-Ok SMSOUT.LOG file shows: 172.18.98.1:2775,SubmitUser=email;Sender=719;Text="abc /hello /this is a test " | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 7410 Registered: 10-2002 |
Hi Diego, There is currently very little customisation available for how e-mail messages are converted to SMS ... either the "From /Subject /Text" format, or there is an INI file option to only send the text of the message for more specialised configurations (EMailSMSTextOnly=Yes under [MMSC] in MMSC.INI). On further review though, it sure doesn't make sense that we don't allow a template for some easy customisation. So we've made a simple change, as described below:
The update patch for NowSMS 2007 that adds this setting can be downloaded from http://www.nowsms.com/download/20070723.zip. To accomplish the format that you want, you'd add the following the [MMSC] section of MMSC.INI: SMSEMailTemplate=@@FromAddress@@ (@@Subject@@) @@Text@@ -bn | |||
Brian Frederiksen New member Username: Aerialinkcom Post Number: 3 Registered: 07-2007 |
[spam spam spam] |