SMS to e-mail, domain name optional?

SMS to e-mail, domain name optional? SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through October 19, 2005 » SMS to e-mail, domain name optional? « Previous || Next »
Author Message
Anonymous
 
Posted on Thursday, September 15, 2005 - 08:38 pm:   

Hi

We have installed the system in a GSM modem build and a build using SMPP into O2 ....the latter being the main focus for our services.

At present we are working with implementing into a Notes / SMNP environment.

One query that has arisen .....our domain is domainname.com ...... when receiving SMS into our Corporate environment is there a way to "default " the domain e.g. ....

as well as the first line of the SMS needing to read
myname@domainname.com<space> ...<followed by SMS text> ...so the mail routes to my inbox

can domain be assumed (if not present) so simply
myname<space> ....<followed by SMS text> will deliver into my inbox ??

this approach would be helpful to our staff (i.e. the main users) and reduce the SMS character count takn by routing data.

look forward to your comments
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4924
Registered: 10-2002
Posted on Thursday, September 15, 2005 - 09:07 pm:   

Hi,

I was about to submit this to our engineering department as a feature request, when I realised that there was a way to accomplish this today without any changes to NowSMS.

Instead of a single 2-way command, define two 2-way commands.

Use "*@*" as the "SMS Command Prefix" for one that has a command of "mailto:@@SMSPREFIX@@", this will catch any messages that include an "@" symbol within the first portion of the message.

Then, define a second command with "*" as the "SMS Command Prefix", and define a command of "mailto:@@SMSPREFIX@@@domainname.com". This will catch any messages that don't meet the another defined criteria.

The order in which these commands appear in the 2-way list is not important. The way that the 2-way command logic works is that NowSMS looks for the "SMS Command Prefix" match that contains the most characters.

To use your example, if you send in the following SMS "myname@domainname.com<space> ...<followed by SMS text> ", it would match both "*" and "*@*". However, "*@*" is considered the better match because it is a longer string.

-bn

Topics Topics Search Last 30 Days Login Login / Register Logout Logout