how to send free sms using way2sms login (using jar file) java program.

Steps:

1) Download the jar file from http://www.mediafire.com/?ztwzzwmfmmz

2) Add the jar file to library in your Netbeans or Eclipse IDE.

3) To send SMS call the Send() method of smsclient class.

4) Here is a sample implementation.

import com.way2sms.SMS;
class TestSMS {

public static void main(String[] args) {

SMS smsClient=new SMS();
smsClient.send( Username, Password, Number, Message,Proxy);
}
}

Where,

  • Username & Password are Your way2sms username and password
  • Number is recipient’s mobile number
  • Message is the text to be sent
  • and Proxy is the address of the proxy server. If you are using at home leave the proxy field as “” or null

If you are using it in your college lab then you’ll have to connect internet with the help of proxy. But in my lab I couldn’t connect since my proxy server required authentication. If you can solve it please leave as comment.

 

Comments

  1. it is nt working.....

    ReplyDelete
  2. ya it isn't working .. plz tell the better way

    ReplyDelete
  3. Way2sms is a great free sms service indeed but sometimes Way2sms login problem is really disgusting.

    ReplyDelete
  4. mail to nimcmemories1@gmail.com they will send you jar through wich u can send sms in india , latest by 2013

    ReplyDelete
  5. i tested this code ,i spend one day for this to send messages , but it was NOT WORKING,....may be the proper documentation was not provide to send the messages using way2sms.
    that is the main problem.
    thank you.

    ReplyDelete
  6. Thanks for sharing this information. It is very easy process and this blog is so informative for providing a valuable information about me.
    Bulk sms api java

    ReplyDelete
  7. Sms Bomber Is An Online Tool Which Helps You To Prank Your Friends.Our Tool Is Super Fast And Online.This Is The Sms Bomber Of 2018 Which is The Latest One. text bomb website

    ReplyDelete

Post a Comment

Popular Posts