-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
45 lines (23 loc) · 1.33 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
**THIS IS NO LONGER MAINTAINED**
This is a simple Java API and its implementation to send sms from commandline using the way2sms sms service. Do the following steps
1) You have to register at Way2SMS and Obtain a User Name and Password.
2)You have to find the ACTION value.
*In-order to find the action value first install 'fire bug' to your Firefox.
*Then login to your way2sms account.
*Open Firebug from tools->Firebug->open firebug.
*In the search field of firebug type 'action' and click next until you find something like
<input id="Action" type="hidden" value="sa65sdf656fdfd" name="Action">
*Now the value 'sa65sdf656fdfd' is your ACTION value.
Now open the source and edit the following fields in main()
* USERNAME : Your way2sms username
*PASSWORD : Your way2sms password
*ACTION : The ACTION value we found out
*Also uncomment the proxy support if needed.
Now compile the code
javac Way2SMS.java
Run the code
java Way2SMS phone no1 no2 .... message your message here!
Note: The ACTION value is so important that if you have omitted the program will not give the desired result. In future I will add feature to automatically fetch that ACTION field for you.
contact: tacticiankerala@gmail.com
Example :
java Way2SMS phone 1234567890 0987654321 message Where where you yesterady?