PHP form to send SMS to users #sms
Edit
by THE PROTECTOR - 10 years ago (2014-12-12)
PHP form to send SMS to users
| PHP form to send SMS to users |
- 2 Clarification requests
2.
by Oluwaseun Peter - 10 years ago (2014-12-28) Reply
I will prefer the free type, so give more hint please
1.
by Manuel Lemos - 10 years ago (2014-12-14) Reply
There are several ways to send SMS from PHP. Most of them require you to pay a fee either to a provider of a Web services API or by connecting to real mobile phone to send the messages for you.
There are also free solutions that rely on sending email to gateways of the recipient mobile phone provider.
Do you prefer free or paid solutions?
Ask clarification
2 Recommendations
SMSGateway: API to send SMS messages using an Android gateway
This package provides an API to send SMS messages using an Android gateway.
It can handle requests to send SMS messages to a given phone number.
The package can put the messages in a local queue storing the message data in a flat-file structure.
It can also handle HTTP requests as an API server that uses callback functions to process events like when new messages are received, updates in the status of queued messages, and a given timeout period passed after the last time it sees the presence of a phone device.
| by André Liechti package author 175 - 2 years ago (2022-10-12) Comment
Using an open source Android SMS Gateway App which is described in the documentation, you will be able to send and receive SMS using your Android phone with this simple PHP class. Data are stored in a flat-file structure, and some examples are provided. Receiving messages and status can by handled by callback functions that you define yourself.
WHen your form is filled, just send the SMS using the sendMessage method, and that's it ! |
Email 2 SMS: Send SMS by e-mail to many carriers
This class can be used to send SMS by e-mail to clients of many country carriers.
It can compose and send an e-mail message to an address of a carrier that delivers the SMS message to a client of a given mobile carrier.
The class can customize the SMS message to be sent for a variety of handsets including Symbian smart phones, Andriod phones and old handsets.
Currently it supports more than 95 carriers in 29 countries:
Alaska: General Communications
Argentina: Claro, Personal
Australia: T-Mobile/Optus Zoo
Austria: T-Mobile
Brazil: Vivo
Bulgaria: Mtel, Globul
Canada: Aliant, Bell Mobility, Fido, MTS Mobility, Rogers Wireless, Sasktel Mobility, Telus, Virgin Mobile
Crotia: T-Mobile, Tigo
Colombia: Comcel
France: Bouygues Telecom
Germany: T-Mobile, Vodafone, O2, E-Plus
Iceland: OgVodafone, Siminn
India: Andhra Pradesh Airtel, BPL Mobile Mumbai, Karnataka Airtel
Ireland: Meteor
Italy: TIM, Vodafone
Japan: AU by KDDI, NTT DoCoMo, Vodafone Chuugoku/Western, Vodafone Hokkaido, Vodafone Hokuriko/Central North, Vodafone Kansai/West, including Osaka, Vodafone Kanto/Koushin/East, including Tokyo, Vodafone Kyuu\
shu/Okinawa, Vodafone Shikoku, Vodafone Touhoku/Niigata/North, Vodafone Toukai/Central, Willcom, Willcom di, Willcom dj, Willcom dk
Mexico: Nextel
Mauritius: Emtel
Nepal: Mero Mobile
Netherlands: T-Mobile, Orange
Nicaragua: Claro
Singapore: M1
South Africa: Vodacom, MTN
Spain: Telefonica Movistar, Vodafone
Sri Lanka: Mobitel
Sweden: Tele2
Switzerland: Sunrise Communications
United States: 7-Eleven Speak Out Wireles, Alaska Communications Systems, Alltel, Ameritech, Appalachian Wireless, AT&T Mobility, ATT Wireless, Bluegrass Cellular, Bellsouth, Boost, Cellular One, Cellular South, Centen\
nial Wireless, Cincinnati Bell Wireless, Edge Wireless, Sprint PCS, Teleflip, T-Mobile, Metro PCS, Nextel, O2, Orange, Qwest, Rogers Wireless, Telus Mobility, US Cellular, Verizon, Virgin Mobile
United Kingdom: O2 #1, O2 #2, Orange, T-Mobile, Virgin Mobile, Vodafone
| by Manuel Lemos 26695 - 9 years ago (2016-02-15) Comment
There are many SMS sending services, but not so much free ones. There are some that provide free SMS sending up to a given limit. You need to use their APIs.
This class follows a different approach. It can send SMS messages by delivering them to email address of the respective carrier.
I am not sure if this really reliable because you must be sure of the provider people use. Anyway for a free service this is probably the best you may get. |