2

I know I can send sms through php using api or gateway. But my question is how those websites send sms through our mobile no. How is this done. Any help

kritya
  • 3,312
  • 7
  • 43
  • 60

2 Answers2

1

SMS is fundamentally like email, it trusts the sender to be truthful about who they are sending from. I use clickatell to send SMS and in the early days - 2004/5 you could send an sms to anyone from anyone without any special permission, but they quickly shut this down for security reasons, you now have to register and prove your rights to send from a particular address.

Basically in order for you to do it you need to either sign up with a mobile provider or have an agreement with your sms provider to allow you to send sms from whoever you wish. There may be senders out there who are less strict in setting the sender.

Toby Allen
  • 10,997
  • 11
  • 73
  • 124
  • Can u pls suggest some websites for registering my company and and any websites which provides help on that stuff. And many thanks for thwarting answer – kritya Feb 27 '11 at 17:28
  • I find clickatell very good but they wont allow you to send from any number without good reason. I'm not sure any reputable provider will. – Toby Allen Feb 27 '11 at 18:51
0

They would communicate with a provider (possibly through a third party) also using an API of sort. One of the parameters they would pass is a source number. So when the SMS is sent there is header information saying it came from a specific number. It is possible to set this value to a text string too instead of a number. So the SMS might look to come from for example 'STACKOVERFLOW' instead of '12345678'.

David Gillen
  • 1,172
  • 5
  • 14