2 way send to email

2 way send to email SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through July 14, 2004 » 2 way send to email « Previous || Next »
Author Message
joe luwis
Unregistered guest
Posted on Thursday, June 03, 2004 - 11:51 am:   

can i know how to use 2 way sms to send a email out to the sender ? eg. someone send me a sms to request a photo, key word to use is "emailme" ie."emailme abc@abc.com", now sms gateway will pick up the email address & attached a photo (jpg) send to the sender?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2683
Registered: 10-2002
Posted on Friday, June 04, 2004 - 04:10 pm:   

Hi Joe,

If you want to just have the SMS sent out as an e-mail, then typically what you would do is configure an SMS command prefix of "*" or "*@*" (the latter indicates that the command prefix is a match only if the first "word" of the SMS message contains an "@" symbol), and then a command of mailto:@@SMSPREFIX@@. This command will cause the SMS message to be forwarded to the e-mail address that appears as the first word of text in the message.

However, this doesn't give you the ability to modify the content of the message at all. To do what you want to do, you'd need to do it with a script.

The script would get triggered by a command prefix of "emailme". The command would point to your script running on a separate web server (using PHP, Perl, ASP, or your scripting language of preference), and you'd want to pass @@SMS@@ as one of the variables sent to the script. Your script would parse the "@@SMS@@" value to find the e-mail address, and the script would send the e-mail message.


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