From SMS Wiki
Revision as of 23:44, 8 May 2008 by Bzurkovic (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Sending SMS messages by SMTP Auth relies on an email server to authenticate a request for sending email. An application connects to the SMTP server using a valid username and password (in plain text) as authentication credentials and sends a specially formatted email message to request the server to convert the information stored in this email into SMS and send it.

SMTP host name:

There is a second phase of authentication that occurs internally, verification of the senders email address. It must be in the form of where 'username' represents an actual account name with our service (for example

If the sender email address is not exactly as specified above, an error is returned: "503 Incorrect Authentication for Specified Email Address"

The message format is as follows:

The "To:" field must be in the following format where the 'N's are replaced with the number you wish to send to. The number must be in international format.

The "Subject:" field contains parameters for modifying the contents of the message to further compress the text while maintaining human readability. The parameters are comma separated and correlate the the following options: a = abbreviate certain words, p = delete prepositions, c = delete spaces. If you leave the subject empty, the message will be sent without any compression being applied. For more information please consult the SMS compression options page.

The "Body:" of your message can be any length, however your account settings and network will determine how long each SMS message ends up and how much of text is sent by splitting the message into the maximum number of parts you indicated in your account. In general the message will be split into pieces that have roughly 150-160 characters in them.

Once your application has authenticated with our server and sent the message, your message will be routed. If the route is successful, the credits for that message will be deducted from your account.

Please refer to the list below for examples of applications that send using SMTP Auth (provided for your convenience only).