“Invalid e-mail recipient.." error message not working

“Invalid e-mail recipient.." error message not working SearchSearch
Author Message
lee vitez
New member
Username: Leevitez

Post Number: 15
Registered: 03-2011
Posted on Friday, June 03, 2011 - 11:01 am:   

Hi Support Team,

There is a strange thing happened in my setup that i can't figure out.

Formerly, i can recieved from my mobile phone an error message that says "Invalid e-mail recipient...", if i inadvertently forget to place an email address before my messages in accordance with this setting:

2-waysetting

But recently, when i try to send an sms message (purposedly not placing an email address just for a test), i can only received an error message but can't open it in my mobile. It says ERROR: +09226575977 - SMS Text Message ... MMS.Delivery@mms.domain.com"

This puzzles me. Because all i know that if nowsms cannot see a valid e-mail address at the start of the SMS message, it will ordinarily reply with the following text: “Invalid e-mail recipient. Please specify a valid e-mail address to start the text of your message.” as was referenced here: http://www.nowsms.com/doc/e-mail-to-smsmms-connectivity/routing-sms-messages-to-e-mail

How could i fix this problem? Is there any old thread/reference that i could find it here? Thank you...

--

Lee
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3222
Registered: 08-2008
Posted on Friday, June 03, 2011 - 05:49 pm:   

Hi Lee,

Here is what is happening ...

If the first word of the SMS text message is not an e-mail address, it matches the * entry, and tries to send the e-mail message to user@domain.com.

user@domain.com is an invalid e-mail address, so the message delivery fails.

If the sender phone number is in the "MMSC Users" list, NowSMS gets confused and sends an MMS message back to the sender informing them that the message could not be delivered.

If the sender phone number is not in the "MMSC Users" list, no error is sent back.

We should change this behaviour. The error message should only be sent back via MMS if the message actually originated with MMS. If the message originated with SMS, an error should be sent back via SMS.

--
Des
NowSMS Support
lee vitez
New member
Username: Leevitez

Post Number: 16
Registered: 03-2011
Posted on Saturday, June 04, 2011 - 03:41 am:   

Thanks Des for the information. So, how would i fix this problem in the meantime? Is there any other option that i could get rid this error?

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

Post Number: 3235
Registered: 08-2008
Posted on Monday, June 06, 2011 - 10:15 pm:   

Hi Lee,

There is an update at:

http://www.nowsms.com/download/nowsms20110606.zip

It does not send a non-delivery notification back via MMS unless the message originated via MMS.

--
Des
NowSMS Support
lee vitez
New member
Username: Leevitez

Post Number: 17
Registered: 03-2011
Posted on Tuesday, June 07, 2011 - 04:23 am:   

Hi Des,

Thanks for the updated version.I'm happy with this updated Nowsms, but i have another problem, maybe you can help me figure this out.

Local mobile networks here in our country has an SMS advertisement daily offering their other services. My dilemma started when my SIM card recieved an SMS advertisement, then Nowsms replied it with the non-delivery notification ("Invalid e-mail recipient...") back to the MMSC network. It loops and loops...

This is what happens in my SMSOUT log:

2011-06-07 10:53:22,4DD0CED5.req,Auto-response to 4438,4438,OK -- HUAWEI Mobile Connect - 3G Modem,SubmitUser=localsystem-2way;Sender= +639158204446;Text="Invalid e-mail recipient: MyRewards. Please specify a valid e-mail address to start the text of your message."
2011-06-07 10:54:01,4DD0CED7.req,Auto-response to 4438,4438,OK -- HUAWEI Mobile Connect - 3G Modem,SubmitUser=localsystem-2way;Sender= +639158204446;Text="Invalid e-mail recipient: Sorry,. Please specify a valid e-mail address to start the text of your message."
2011-06-07 10:55:03,4DD0CED9.req,Auto-response to 4438,4438,OK -- HUAWEI Mobile Connect - 3G Modem,SubmitUser=localsystem-2way;Sender=
+639158204446;Text="Invalid e-mail recipient: Sorry,. Please specify a valid e-mail address to start the text of your message."

And this in SMSIN log:

2011-06-07 10:53:20,4438,HUAWEI Mobile Connect - 3G Modem,PID=39;Text="MyRewards MyGlobe: As of 06/06/2011 you have 1.25 points! Claim rewards now!Txt ITEMS to 4438 to check the rewards that u can get.No advisories?Reply STOP";Recip=+639158204446
2011-06-07 10:53:36,4438,HUAWEI Mobile Connect - 3G Modem,Text="Sorry, you've entered an invalid keyword. For more info on the correct keyword, text REWARDS to 4438.";Recip=+639158204446
2011-06-07 10:54:17,4438,HUAWEI Mobile Connect - 3G Modem,Text="Sorry, you've entered an invalid keyword. For more info on the correct keyword, text REWARDS to 4438.";Recip=+639158204446
2011-06-07 10:55:17,4438,HUAWEI Mobile Connect - 3G Modem,PID=39;Text="Sorry, you've entered an invalid keyword. For more info on the correct keyword, text REWARDS to 4438.";Recip=+639158204446

How do i fix this? Is there a way i can stop this, or specifically excempt this number "4438" so everytime it sends me again a message, Nowsms won't reply back?

Badly need your help. Thanks...

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

Post Number: 3239
Registered: 08-2008
Posted on Tuesday, June 07, 2011 - 04:05 pm:   

Hi Lee,

The best thing to do is set the Properties for the modem in the SMSC list. UNcheck "Support any outbound message traffic".

In the "Preferred SMSC connection for" list, add recipient address formats that you can support, like this:

+639?????????

Add any additional country codes you want to be allowed to send messages for. And you can add a match to allow sending to local numbers without the country code as well, if you need to. (The inbound SMS should always have the country code.)

NowSMS won't send out to any numbers that don't match this allowed list.

The ? character matches any one digit. * can also be used to match 0 or more digits, but ? is nice for this scenario because it can ensure that the phone number is the correct length.

--
Des
NowSMS Support
lee vitez
New member
Username: Leevitez

Post Number: 18
Registered: 03-2011
Posted on Wednesday, June 08, 2011 - 07:20 am:   

Hi Des,

Thanks for the support! No more loops anymore. I have another question, pls bear with me: When i send an sms mssg from the web interface, using a "0" number at the beginning(09191234567) instead of the country code "+63", i can't make it through. But when i change it to coutry code +639191234567, it worked.

How do i make NOwsms to automatically interchange "0" to "+63" so the sender would not need to repeat sending when he mistakenly or forgotten to put "+63"?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3245
Registered: 08-2008
Posted on Wednesday, June 08, 2011 - 09:48 pm:   

Hi Lee,

Unfortunately, there is no way to make that change automatic. (We have logic on the MMS side, so I don't know why we have never done this for SMS.)

Is it failing because no route is defined?

In other words, if you add this entry to the preferred list, will that fix the problem?

09?????????
lee vitez
New member
Username: Leevitez

Post Number: 19
Registered: 03-2011
Posted on Thursday, June 09, 2011 - 07:04 am:   

Hi Des,

Sorry to confused you. My issue in the looping autoreply has been resolved. I had nothing done further in the preferred list. What i mean was the sending on Web Interface.

number1

If i only put the number without the country code, Nowsms failed to route, like what the SMSOUT log says here:

2011-06-09 13:33:19,DCFD26F0.req,SMTP sender myname@gmail.com to 09221234567,09221234567,Error: No SMSC defined to route message -- HUAWEI Mobile Connect - 3G Modem,SubmitUser=localsystem- mmsc;Text="myname@gmail.com /test 3 /hello"

But whenever i put the countrycode, Nowsms will send the message succesfully:

number2

Here is the SMSOUT log says:
2011-06-09 13:36:06,53828BC5.req,SMTP sender myname@gmail.com to +639221234567,+639221234567,OK -- HUAWEI Mobile Connect - 3G Modem,SubmitUser=localsystem-
mmsc;Sender=09158204446;Text="myname@gmail.com /test 4 /hello"

Should the email sender really needs to use the number with the country code while using the email client?

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

Post Number: 3251
Registered: 08-2008
Posted on Thursday, June 09, 2011 - 02:31 pm:   

Hi Lee,

This has to do with the preferred routing that I told you to add.

I told you previously to configure this:


In the "Preferred SMSC connection for" list, add recipient address formats that you can support, like this:

+639?????????

You need to add to this list:

09?????????

Also, please note that a severe bug was discovered in the previous version that I told you to download. Please update to the 2011.06.08 version at http://www.nowsms.com/download/nowsms20110608.zip

--
Des
NowSMS Support
lee vitez
New member
Username: Leevitez

Post Number: 20
Registered: 03-2011
Posted on Saturday, June 11, 2011 - 11:31 am:   

Hello Des,

Still not working. Inspite the updating of Nowsms, the link you gave me, it didn't work. As usual, when i type only the 09xxxxxxxxx, it will not send. But when used by +639xxxxxxxxxx, it sent through after adding the 09???????????.

number

Heres what the SMSOUT log says:

2011-06-11 18:10:22,4DEF0F7B.req,127.0.0.1,09221234567,Error: No SMSC defined to route message -- HUAWEI Mobile Connect - 3G Modem,SubmitUser=anton;Text="test"
2011-06-11 18:12:06,4DEF0F7C.req,127.0.0.1,09221234567,Error: No SMSC defined to route message -- HUAWEI Mobile Connect - 3G Modem,SubmitUser=anton;Text="test2"

But after i input the code:

2011-06-11 18:12:53,4DEF0F7D.req,127.0.0.1,+639221234567,OK -- HUAWEI Mobile Connect - 3G Modem,SubmitUser=anton;Sender=09158204446;Text="test3 c.code"

--

Lee
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3258
Registered: 08-2008
Posted on Saturday, June 11, 2011 - 02:36 pm:   

Hi Lee,

There must be some mismatch between the number of ? and number of digits, although it does not seem to be the case in what you have posted.

For a quick fix, I'd suggest using +639* and 09* as masks.

--
Des
NowSMS Support
lee vitez
New member
Username: Leevitez

Post Number: 21
Registered: 03-2011
Posted on Monday, June 13, 2011 - 04:11 pm:   

Hi Des,

My issue has been resolved. Thank you for your help.

More power to you, Support Team!

--

Lee