You need to pay for using an SMS gateway, which is a lot. Usually you buy bulk messages in advance. There are very few (if any) free gateways, as we all know that b * stards of mobile companies scalp. IIRC, the SMPP protocol used.
http://en.wikipedia.org/wiki/SMS_gateway
If you didn’t host the hosting site and didn’t own your own equipment, you can connect any modern cell phone to your USB port and use the vendor’s software to send SMS messages either via a serial protocol using Hayes commands or much more likely these days , a good object model in Java, C # or C ++. Nokia has been offering this for many years.
source
share