VSMSMail Banner
Login | Sign up

  » Services » VSMS Gateway
VSMSMail is offering a very simple way of integrating your application to send text messages to mobile devices. If your application needs to send text messages to mobile devices, such as alerts, forecasts, or advertisements, then let us help you reduce your workload, so that you can focus just on your core business.

Regardless of what platform your application is running, or programming language your application is written in, you can easily integrate your application to our gateway. Sample code is available for the following languages: Java, Servlet, JSP, PHP, Unix Shell.

Sample Applications:
  • Stock alerts
  • News Alerts
  • Unix / Linux Administrators tool to monitor the health of the servers (disk space, security breach, mail servers)

To test our gateway by sending a text to yourself, click here

To get pricing information, click here.



API connectivity Details:

Java/Servlet/JSP Programmers

import java.io.*;
import java.net.*;
import java.util.*;

public class vsmsclient
{

public static void main(String[] args)
{
try {
Socket vsmssocket = new Socket("vsmsgateway.com",5000);

//Copy and paste your license here
String license = "";

//Phone number to send the text messaging to
String phone_number = "4161112222";

//Your sms text goes here
String msg = "Hello World";


String msg_buf = license+"\n"+phone_number+":"+msg+"\n";
OutputStream output = vsmssocket.getOutputStream();
output.write(msg_buf.getBytes());

}
catch (Exception e)
{
System.out.println(e);
}
}
}
Please email services@vsmsmail.com to obtain your license code
Click here to download the source file




Shell Scripting

exec 5<>/dev/tcp/vsmsgateway.com/5000

#copy and paste your license here (inside "")
license=""
txt_msg="Hello World"
phone_number="4161112222"
echo -e "$license\n$phone_number:$txt_msg" >&5

Please email services@vsmsmail.com to obtain your license code



PHP Programmers

//Copy and Paste your license here
$license="";
$phone_number="4161112222";
$text_message="Hello World from php";

$fp = fsockopen ("vsmsgateway.com", 5000, &$errnr, &$errstr) or die("$errno: $errstr");
if (!$fp) {
echo "$errstr ($errno)\n";
} else {
fwrite($fp, $license."\n".$phone_number.":".$text_message."\n");
fclose($fp);
}

Please email services@vsmsmail.com to obtain your license code


Privacy Policy | Terms and Conditions | Feedback
Copyright © VSMSMail, 2003 - 2008