Sending SMS from a web application

I am developing a web application in which I need SMS and email. Sending email can be done easily, but I need help sending SMS.So for beginners who don’t even know that the API is required to send SMS, that everything needs to be sent SMS.I means

  • Is any SMS gateway required?
  • Any server requirement? I found some links like this. But this uses some kind of / GSM network.But switch. Suppose for a web application how to do this, because I cannot connect a USB key on the client side. Any help is appreciated.
+9
java sms
source share
7 answers
+7
source share

I suggest you use JSMPP ( git page ). JSMPP is an implementation of Java SMPP (Peer-to-peer Short Messaging). It provides a communication channel between your web application and the SMS service center. It supports up to 5000 SMS per second. The SMS service center will charge for the service, but you can do as much as you want using the Selenium simulator . Both JSMPP and Selenium simulators are free.

+2
source share

A gateway is optional. If you do not have a gateway, you can use your mobile phone or key as a serial modem and send SMS through it.

One of the most popular libraries you can use is Ozeki . It includes an example code package.

+1
source share

If you need a free SMS gateway, it is not. No network provider will want to disclose free APIs or run into problems. You will have to go for paid services.

+1
source share

you can use smslib [1]: http://smslib.org/ , which is a library that supports java.net, through which you can use an sms gateway, such as a modem gateway, or you can use a mobile (like sms gateway ) to send SMS and receive.

Personally, I offer you development and testing, I did some research and came to the conclusion that as soon as you move your application to production and connect to your modem or sms modem, this is a little tiring, as far as I know :), at this stage there is many online sms gateway providers based on your location that provide you with an interface where you can send / receive messages, and this may cost you.

0
source share

You can use SMSGateway.me , you must download the Android application on your phone, which will act as the sender, and from your web application you can schedule messages via the REST API.

0
source share

using curl you can send sms

curl -X POST https://textita.com/text \ --data-urlencode phone='9087938341' \ --data-urlencode message='Hello world' \ -d key=textita 
0
source share

All Articles