Many older systems make it difficult for the developer to use the standard SMS API over HTTP to trigger SMS alerts. The solution we found was to use email as the transport for the SMS data, this means anyone with an understanding of SMTP or email clients can send SMS. To use the email gateway it cant be much simpler. Here’s an example:
TO: <mobile number>@textmarketer.bz SUBJECT: <username>%<password> Hello World##
The username and password is found in the API settings of your account. You can also set the originator (sender id) there as well, or if you want to set it on a message basis you just do the following:
TO: @textmarketer.bz SUBJECT: <username>%<password> Hello World## James#
Would send an sms from “James”
Lastly if you want to send the same message to mulitple people the format changes somewhat
TO: email@example.com SUBJECT: <username>%<password> Hello World## James# <mobile number> <mobile number> <mobile number>
As you can see this is a very simple system to use. The sms gateway will accept plain text or html emails so sending from outlook for example is supported. Also it is worth noting that the message can be 612 characters long as concatenation automatically occurs after 160 chars message length.
No related posts.