Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can anyone recommend any good UK based SMS gateways for sending and receiving SMS using C#?

Tags:

c#

sms-gateway

Has anyone used any in the UK, and if so, were they any good?

like image 790
joshcomley Avatar asked Dec 14 '09 15:12

joshcomley


2 Answers

Clickatell is a popular SMS gateway. It works in 200+ countries.

Their API offers a choice of connection options via: 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 plain-text e-mail to: [email protected], with the following body:

user: xxxxx
password: xxxxx
api_id: xxxxx
to: 448311234567
text: Meet me at home

As for incoming SMSes, you would have to expose an interface through: HTTP, SMPP, SOAP or FTP. For example if you use the HTTP GET and you provide this URL to Clickatell: http://www.yourdomain.com/sms/sms.asp, then Clickatell will send you this HTTP GET with every 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: "Test SMS Gateway".

like image 181
Daniel Vassallo Avatar answered Sep 30 '22 01:09

Daniel Vassallo


TM4B offer an easy-to-use web-based API, but there are some limitations to what kind of content it can be used for (nothing to do with music, gambling, drinking), BulkSMS is also quite highly regarded and, once again, offer a very simple web-based API.

I've used both before (we have an SMS provider abstraction library create in-house) and both are as reliable as the underlying transport (SMS is not a guaranteed communication method, so messages can go astray).

like image 24
philjohn Avatar answered Sep 30 '22 03:09

philjohn