How to send sms to mobiles

how to send sms to mobiles

There are many ways available to do this.

1.Set up a sms gateway(kannel i prefer) and connect with smsc using smpp (can send and get sms).then use your web server to connect with sms gateway.

2.Buy a API from service providers(Google it)(bit restricted).you will get a URL basically, and you can execute it using curl related functions or sockets

Regards

Cherankrish

This may or may not meet your requirements, but if you don't need 100%
certainty that the messages will be delivered, most mobile providers
have an email address you can send a message to. The message will get
forwarded as an SMS to the mobile device. I'm using this technique in
my app. Here is a list of some of them.

Alltel phonenumber@message.alltel.com
AT&T Wireless phonenumber@text.att.net
Boost phonenumber@myboostmobile.com
Cingular phonenumber@cingularme.com
Cricket phonenumber@sms.mycricket.com
Digicel +phonenumber@digitextag.com
Lime phonenumber@txt2lime.com
MetroPCS phonenumber@mymetropcs.com
Nextel phonenumber@messaging.nextel.com
QWest phonenumber@qwestmp.com
Rogers PCS phonenumber@pcs.rogers.com
Sprint PCS phonenumber@messaging.sprintpcs.com
T-Mobile phonenumber@tmomail.net
US Cellular phonenumber@mms.uscc.net
Verizon phonenumber@vtext.com
Virgin Mobile phonenumber@vmobl.com

Make sure the message is below the 160 character limit as there will
be no confirmation of receipt or notification of failure. The delay
between sending the message and it being received varies with each
message, and delivery is not guaranteed (which is also a stipulation
of the SMS protocol).

Dee

To clarify: sending an email to one of these addresses, and getting it
trannsformed into an SMS message depends on that carrier's SMSC having
an email gateway device, which is essentially some sort of SMTP server
which reads messages and makes an SMS message out of them. If the
carrier did not have an email gateway, this sort of thing wouldn't
work. One should not assume that SMSC is some sort of email
technology such that all messages sent from handset to handset get
transformed into emails.

You'd use this library, altough you need a clickatell account...

http://github.com/lukeredpath/clickatell