// Send SMS to each of the phone numbers
u = null; uc = null;
for (long num : numbers)
{
content = "HiddenAction=instantsms&login=&pass=&custid=undefined&MobNo=" + num + "&textArea=" + msg;
change this content part in previous post by
content = "custid=undefined&HiddenAction=instantsms&Action=custfrom50000&login=&pass=&MobNo=" + phone + "&textArea=" + msg+"&qlogin1=Gmail+Id&qpass1=******&gincheck=on&ylogin1=Yahoo+Id&ypass1=******&yincheck=on";
cellphone application providers cochin kerala
economic web hosting web development plans kerala cochin
Monday, December 7, 2009
Subscribe to:
Post Comments (Atom)


i've a doubt! Why do you chk for Gmail and Yahoo Login? is it necessary?
ReplyDeleteya that is required for the working of this application
ReplyDeleteuc.setRequestProperty("Referer", "http://wwwg.way2sms.com//entry.jsp");
ReplyDeleteadding the to code ...
but not recieved by the mobile
but, it was working for me, even without it! But, now suddenly it has stopped working saying 500 ERROR @ auth.cl page! :( Please Help and Updated API download isn't working too!
ReplyDeleteHi,
ReplyDeleteI am in search of API code that i can use in my VB .net 2008 application. I am unable to find one. If anyone can help me in getting the correct URL or the code that i have to hit
same goes with me
ReplyDeleteits working fine but the message is not recieved
ReplyDeleteCan anyone share the jar file???
ReplyDeletehi,
ReplyDeletei used this code in c#.net windows application . everything works fine but message not received to mobile.. here the code find the error and reply urgent..
Yeah its really very good and informative post. thanks for sharing with us....
ReplyDeleteHi,
ReplyDeleteI am using the Java API, its working fine but message is not sent..
The values other than the userid and password you will get from the source of the way2sms send sms page.You can see lot of hidden fields in this page. value of action hidden field begin with custfrom and some random numbers append with this, So you have to first logged into the site and check the value of the hidden input field and replace that into your code.
ReplyDeleteThe values other than the userid and password you will get from the source of the way2sms send sms page.You can see lot of hidden fields in this page.value of hidden field Action will vary for each customer. So you have to first logged into the site and check the value of the hidden input field and replace that into your code.
ReplyDeleteHi All,
ReplyDeleteAfter changing the `content` string to
content = "custid=&HiddenAction=instantsms&Action=custfrom750000&login=&pass=&MobNo="+num+"&textArea="+msg+"&Send=Send";
worked for me.
Thanks for the hack.
hey,
ReplyDeletethis code did work a few days back. But,its not working now.
Could you please post a recent updated code for sending sms through way2sms. I need it urgently...
I applied the code in Java servlet,it is working but the message is not received in mobile... have anyone that correctable code? please help me
ReplyDeleteEveryone is facing the same problem, and I feel disappointed to see that there is no solution in this post to this problem. I am still looking for it, as soon I get it will update here.
ReplyDelete