Sending SMS Text Messages as E-mail

<< Click to Display Table of Contents >>

Navigation:  Robo-FTP User's Guide > Script Programming > Select Topics in Script Programming >

Sending SMS Text Messages as E-mail

 

All the major cellular carriers provide an email-to-SMS gateway which you may use for free. To send a text message with Robo-FTP, use the CREATEMAIL and SENDMAIL commands to sent an email where the recipient address has this format: <cell phone number>@<carrier SMS gateway>

 

Here is a list of carriers and their texting email gateways:

Alltel

message.alltel.com

Boost Mobile

myboostmobile.com

Cingular/AT&T

txt.att.net

Rogers Canada

pcs.rogers.com

Sprint Nextel

messaging.nextel.com

Sprint PCS

messaging.sprintpcs.com

T-Mobile

tmomail.net

Verizon Wireless

vtext.com

Virgin Mobile USA

vmobl.com

 

 

For example, to send a text message to a T-Mobile subscriber with a phone number of 555-555-5555, you simply need to send an email to [email protected].

 

SET from_name = "Acme Widget Co. Sales"

SET from_email = "[email protected]"

;; subject line will be ignored by most carriers

SET subj = "My Subject"

;; Message body should be 160 characters or less

SET body = "My message."

SET attach = ""

CREATEMAIL from_name from_email subj body attach

SET to_name = "Ray Johnson"

SET to_email = "[email protected]"

SET server = "smtp.mymailserver.com"

SENDMAIL server to_name to_email /user="smtpid" /pw="smtppw"

 

 

Related command(s): SENDMAIL, GETMAIL, MAILTO

See also: Sending SMS text messages, %crlf