Java Script

Use the JAVA codings below to send SMS. You can modify this basic code to your requirements.
change values of id, pw, to and text with your user id, password, senders telephone number(to) and the message(text)


public class URLReader {
public static void main(String[] args) throws Exception {

URL textit = new URL("");
BufferedReader in = new BufferedReader(
new InputStreamReader(textit.openStream()));

String inputLine;
while ((inputLine = in.readLine()) != null)

more details can be found at the oracle java documentation at

Comment on this FAQ

Your email address will not be published. Required fields are marked *