I want to send SMS to a mobile phone from a web application, is it possible? How do I do it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use this free Java sample program to send SMS from your PC using GSM modem connected to your computer to your COM port. You also need to download and install the Java comm api from Sun.
This program needs the following java files to function.
SerialConnection.java (This file is used to connect to your COM port from your java program)
SerialConnectionException.java (This file is for handling serial connection exceptions in your Java program)
SerialParameters.java (This program is used to set your COM port properties for connecting to your com port from your java program)
Sender.java (This is the program that implements runnable and sends SMS using the serial connection)
SMSClient.java (This java class is the main class that can be instantiated in your own java program and called to send SMS. This program in turn will use all the above four files internally to send out your SMS).
Download Send SMS Java sample program files