Clickatell is a popular SMS gateway. It works in over 200 countries.
Their API offers a choice of connection options through: HTTP / S, SMPP, SMTP, FTP, XML, SOAP, COM object.
The HTTP / S method is as simple as this: http://api.clickatell.com/http/sendmsg?to=NUMBER&msg=Message+Body+Here ( Clickatell API Guide ).
The SMTP method consists of sending a text email message: sms@messaging.clickatell.com with the following body:
user: xxxxx password: xxxxx api_id: xxxxx to: 448311234567 text: Meet me at home
As for incoming SMS messages, you will need to open the interface via: HTTP, SMPP, SOAP or FTP. For example, if you use an HTTP GET and provide this Clickatell URL: http://www.yourdomain.com/sms/sms.asp , then Clickatell will send you this HTTP GET with each incoming SMS:
https://www.yourdomain.com/sms/sms.asp? api_id=12345& from=279991235642& to=27123456789& timestamp=2008-08-0609:43:50& text=Hereisthe%20messagetext& charset=ISO-8859-1& moMsgId=b2aee337abd962489b123fda9c3480fa
You can also test the gateway (incoming and outgoing) for free from your browser: " Check SMS Gateway ".
source share