Send Free SMS – Web Service
July 17th, 2008
Update: There seems to be some problem when the API is being accessed from my domain. Kindly try hosting the script in your own domains.
Hi friends, if you are in India and if you are developing software prototypes which has to send SMS alerts to various Indian mobile numbers, you needn’t spend a lot to buy SMS credits at the various sites. Over the last weekend, I spent some time hacking up a quick SOAP based web service which you can consume in your programs.
Please note that you need to create an account at www.way2sms.com before proceeding further.
How to Use – Method 1:
Currently the web service is active at http://www.aswinanand.com/sendsms.php. This accepts four parameters.
| Parameter Name | Description |
|---|---|
| uid | This represents the 10 digit phone number with which you have to login at way2sms. Note: This web service may not work if you try logging in with email address. |
| pwd | Your way2sms password |
| phone | One or more phone numbers to which SMS has to be sent. Phone numbers should be separated by semicolon (;). E.g. 9812345678;9933445566 |
| msg | Message that has to be sent. |
The URL – http://www.aswinanand.com/sendsms.php – can be invoked with the parameters as follows:
http://www.aswinanand.com/sendsms.php?uid=9933445566&pwd=password&phone= 9812345678;9933445566&msg=Hello+World
You can also do a HTTP POST to the same URL to send the SMS. Here’s an example:
<form method=”post” action=”http://www.aswinanand.com/sendsms.php“>
<input type=”hidden” name=”uid” value=”9933445566″ />
<input type=”hidden” name=”pwd” value=”password” />
<input type=”hidden” name=”phone” value=”9812345678;9933445566″ />
<input type=”hidden” name=”msg” value=”Hello World” />
<input type=”submit” value=”Send SMS” />
</form>
How to Use – Method 2:
The functionality is also exposed as a SOAP (Simple Object Access Protocol) WSDL (Web Service Description Language). WSDL can be accessed at http://www.aswinanand.com/sendsms.php?wsdl. To know more about how to use this WSDL in Microsoft Visual Studio, check out this article.
To deploy this SMS script on your own server, first download the source code & follow the instructions:
- Let us assume that you wish to run the service at http://www.example.com/sms/sendsms.php. Here, http://www.example.com/ is your domain, “sms” is the folder and “sendsms.php” is the PHP script in that folder.
- Hence, using FTP or SSH, login to your domain hosting space and create a folder named “sms”.
- Extract the source code to the “sms” folder. If you don’t want to expose a SOAP WSDL, feel free to skip to step 6.
- Since the SMS source code supports SOAP, you have to download the ‘nusoap’ library. Then extract the ‘nusoap’ library to the same “sms” folder.
- Once everything is extracted, the folder structure should be:
- example.com
- sms/
- sendsms.php
- htmlparser.inc (optional)
- nusoap/
- class.nusoap_base.php
- class.soap_transport_http.php
- class.wsdlcache.php
- class.soap_fault.php
- class.soap_val.php
- class.xmlschema.php
- class.soap_parser.php
- class.soapclient.php
- class.soap_server.php
- class.wsdl.php
- nusoapmime.php
- nusoap.php
- sms/
- example.com
- Try accessing your web service at http://www.example.com/sms/sendsms.php now.
http://www.example.com/sms/sendsms.php?uid=9933445566&pwd=password&phone= 9812345678;9933445566&msg=Hello+World
or you can also do a HTTP POST as indicated above.
License Information:
The source code is licensed under “Creative Commons Attribution-Noncommercial”. Downloading the file(s) mean that you have agreed license terms.
Download:
Download the PHP source code here.
Other Languages:
Currently this SMS web service is available in the following programming languages:
Misc:
If you liked this web service, please digg it
. Kindly take it for a test drive and let me know if you find any bugs.
August 7th, 2008 at 4:43 pm
hi,
i got the wsdl which is published by u.but it shows error : import schema for namespace was not resolved”
so i cant add this wsdl file to my webreference.
is this have any solution?
August 8th, 2008 at 2:46 pm
hi dost kaise ho
August 9th, 2008 at 8:01 am
Muthu, I’m unable to get the same error. I’m able to access the WSDL as easily. Do you have any other namespace with the same name?
August 19th, 2008 at 6:53 pm
Hey good post but i am unable to send any sms
i tried both the method of using ur web service in asp.net and directly running the link
http://www.aswinanand.com/sendsms.php?uid=__USER_ID__&pwd=__PWD__&phone=__NUMBER__&msg=__MSG__.
can u suggest me
August 20th, 2008 at 10:08 am
@cssk:
I just noticed that the way2sms website has changed a bit. I’m making the code changes. The new updated web service will be up tonight.
Thanks for the info.
August 20th, 2008 at 12:39 pm
Thanks for the reply
can u post some code of using the webservices in asp.net application that wood be very good.
One more thing i am trying to use an other webservice
http://www.webservicex.net/SendSMS.asmx?wsdl
but little sucess
is there any other web service which can be used
August 21st, 2008 at 6:16 pm
Hi Aswin
Is ur Webservice working?
Still Trying to get …..
August 23rd, 2008 at 10:08 am
@cssk:
I have updated the web service now & it works properly for me. Please try it out and let me know.
I have tried webservicex.net’s SMS web service. But since it didn’t work, I created this
Thanks!
August 23rd, 2008 at 11:45 am
Hi Ashwin It’s Working….
Thank u
August 23rd, 2008 at 7:46 pm
hi muthu, i can use ur webservice but u told that unlimited msgs can be sent, no its no correct only limited (arround 60) msgs can be sent, so, u please check it again and try whether there is any other wsdl to send more no.of sms or v can send more from way2sms.
Reply reqd urgently. tnx in advance.
August 24th, 2008 at 6:09 am
@vivin:
You can send as many messages as way2sms.com allows. AFAIK, there are no limitations on how many messages you can send per day using the site.
August 25th, 2008 at 3:02 pm
Hi aswin.
I am using the URL http://www.aswinanand.com/sendsms.php?uid=__USER_ID__&pwd=__PWD__&phone=__NUMBER__&msg=__MSG__. which provided above to send SMS. I am receving the output status as ‘DONE’ but i am not receiving any messages. Is there any restrictions, will the message receive for only particular providers?.
Kindly Reply.
Regards
Bala..
August 25th, 2008 at 9:58 pm
Bala,
Hope you have created an account at way2sms.com and replaced the following details in the mentioned URL:
1. replace __USER_ID__ with your way2sms user id.
2. replace __PWD__ with your way2sms password.
3. replace __NUMBER__ with the number to which messages has to be sent.
4. replace __MSG__ with the actual message to be sent.
I tried with my user name and password and it works perfectly. Most of the time, you will get the SMS within a second or two after the “done” message displays.
August 31st, 2008 at 3:12 pm
I went ahead and modified the freely available rss2html to lookup a gmail feed (via freemyfeed.com) and send a sms via your scripts.. this leads to alerts with a small snippet of the mail
Thanks for your script.
August 31st, 2008 at 3:58 pm
@someone:
Hey, that’s a pretty cool use of this SMS API. Appreciate that!
September 1st, 2008 at 9:17 am
looks like they changed it again.. i cant seem to send messages using the script.
Contact me for the mail alert script at the email id i’ve entered for this post
September 1st, 2008 at 6:00 pm
Hi Aswin.
Thanks For ur reply. On that day itself i checked again by creating new user in way2sms,its worked fine.But, Today the URL http://www.aswinanand.com/sendsms.php?uid=__USER_ID__&pwd=__PWD__&phone=__NUMBER__&msg=__MSG__is not working. Whether any updates is going on.
Regards
Bala..
September 1st, 2008 at 11:38 pm
@Bala:
Another user has emailed me saying that the script is not working today. I’m looking into it.
September 2nd, 2008 at 1:33 am
@bala, @soneone:
You can now send SMS through the given URL.
September 4th, 2008 at 5:09 pm
Dear Anand
I have added the webservice to my application
I haven’t received any message
It works even when i give wrong password
Please help me
Thanks
Santosh
September 4th, 2008 at 11:33 pm
Hi Santosh, which version of visual studio are you using? I just consumed the SOAP web service and it worked out just fine. The WSDL is available at http://www.aswinanand.com/sendsms.php?wsdl
September 9th, 2008 at 12:16 pm
sms is not send by your website by using
http://www.aswinanand.com/sendsms.php?uid=__USER_ID__&pwd=__PWD__&phone=__NUMBER__&msg=__MSG__is not working. Whether any updates is going on.
September 10th, 2008 at 8:19 am
Krishna, the URL is working very well. You need to make sure to have a way2sms user ID and password. Are you having that? Have you read the instructions carefully before invoking the URL?
September 11th, 2008 at 6:11 pm
Hi muthu,
Thanks for ur reply. I consumed ur webservice using my Java Client program, its working fine. I made some improvements to my Java web application ie 1)Long Messaging Service(LMS) like SMS, which allows us to send a text message of any length. 2)Calendar Events or Remainder Service, which allows us to set some remainders or calender events like B’Days and other important occasions and when that event fires then respective SMS/LMS is sent to them. But muthu, in my LMS service i’m unable to send more no.of msgs ie, when split the long text msg into no.of short msgs if the number exceeds some 60 or 70(approx) then the response from ur webservice is “done” as usually but, the remaining msgs after that limit are not being sent and when i try to send any msg there after in Way2sms.com its saying “Policy Violation Error: Too many msgs sent in a short period of time, Plz try later”. So please u chekt it out or try to send more than 100 sms from ur webservice/url. Any how its a very good job from u. Is there any way to retrive msgs sent to us from our client programs ie either by using other wsdls or by any other means. By the way did u try any other webservices to send free sms, I tried many but none is working (at free of cost). If u tried any such which were working please let me know. Awaiting ur reply. Thank u once again.
Regards
Vivin.
September 11th, 2008 at 9:56 pm
Hi muthu, May I know ur details(like academic & professional) if u don’t mind
September 11th, 2008 at 10:56 pm
@vivin:
& I’m an engineering graduate and working for a software firm in Chennai.
Hey vivin, thanks for visiting my blog. Btw, I’m not “muthu”. I’m Aswin
The web service was quickly hacked over a weekend & hence, those validations/checks need to be put into place.
September 12th, 2008 at 1:28 pm
Hi aswin, thanks for ur reply. sorry for assuming u as Muthu, anyhow can u tell me are any other successful wsdl to send unlimited sms a day.
September 12th, 2008 at 10:18 pm
Vivin, I don’t think such a web service ever exists because of obvious reasons (spamming etc.). May be you can use paid services like the ones at http://www.smscountry.com.
September 13th, 2008 at 4:12 pm
Thanks for ur reply Aswin. what are you working on now, I mean any further progress in hacking Way2sms.com or any work done in sending sms using webservices for free of cost etc.
September 13th, 2008 at 11:06 pm
Vivin, I’m working on automating smslife.in now
September 13th, 2008 at 11:21 pm
Tnx for ur reply aswin. Is it your professional work or your personnel work? any how can u give me some detailed description on “Automation of smslife.in”. Thanks in advance.
September 14th, 2008 at 1:07 am
thanks for making me to know and use voice remainder service in smslife.in its working beautifully and it will be really amazing if that voice sms facility is enhanced to sms,alerts etc
September 14th, 2008 at 11:36 am
Vivin, automating is pretty simple. Its just a set of CURL (http://php.net/curl) requests and tracking responses, and validating them. You can go through the source code for the way2sms web service, which uses a similar technique. You can get the source code at the top of this blog post.
September 14th, 2008 at 11:38 am
Doing this is just for fun
so that I can use them on my sidebar without having to visit the site everytime.
September 16th, 2008 at 10:44 pm
Hi aswin, thanks for ur reply. I am java guy, so can you help in that way.
September 18th, 2008 at 1:28 am
Sure Vivin. What help do you require?
September 25th, 2008 at 12:38 am
Hi aswin yesterday webservice is working properly and all of a sudden today its not working……… what happen to the webservice im flex developer an im doing it from flex application… please update if the webservice is updated
September 25th, 2008 at 8:35 am
Balu, the web service can be used with any development platform. Looks like way2sms.com has undergone some changes. Will check them & make an update to this blogpost in a day. Please stay tuned.
September 26th, 2008 at 8:47 am
Hi aswin, I want to set the web service in my own server, so can you please upload the latest/updated source(sendsms) in Java coz I am a Java Web Component Developer.
September 27th, 2008 at 8:47 am
Hi Aswin,
I have used your wsdl to send sms from my .net application. Every thing works fine but am not receiving any message. any updates going on from your end?
the service is accepting null/blank password
(i.e) working without any password given.
Can you suggest any possiblities of mistake that am making?
Thanks
Jp
September 27th, 2008 at 2:16 pm
Vivin, first priority is to stabilize this PHP web service. Of course I’m having plans to write a small library for .NET and Java too. Is it possible for you to maintain the Java library? Please let me know
I would love that.
JP, way2sms have some minor changes to the way the website sends SMS. I’m examining those changes & incorporating them. The changes will be released tonight. Regarding the empty password thing, I haven’t done much validation in the PHP side, mainly because I needed to get this out first. It will be taken care of in the next release after tonight’s release. Hope that’s fine.
September 27th, 2008 at 6:25 pm
Aswin,
Thanks for your response. Waiting for your Release.
Thanks again,
Jp
September 27th, 2008 at 7:57 pm
Hi aswin, I really love to maintain that webservice in my own server/machine. So, plz let me know how to maintain the Java library in my machine(is it by putting the path of the java class files in the classpath coz I am not sure abt it). Anyhow please let me know in detail.And when r u going to release ur new updated webservice, awaiting ur java lib release also. Thanks aswin.
September 28th, 2008 at 1:25 am
@JP, Vivin: The web service is back. You can send SMS now. I will be looking into the validations in the coming week.
@Vivin: By maintenance, I meant about making future code changes and minor enhancements that may come along the way, like what I’m doing now to this PHP thing. Would you be able to maintain that? If so, kindly let me know. I will hack up a quick java program.
September 28th, 2008 at 3:05 am
Aswin,
The code worked fine for me initially and its not working after sending few test messages.
Is it possible to build .net code library?
Can we do it?
Thanks,
Jp
September 28th, 2008 at 4:33 am
Thanks Aswin,
I can maintain the code, but I can do it if u provide me the code in Java, and really like to do some enhancements and of course I already did some like: Remainder service, Long message sending etc. Aswin, if u don’t mind can u tell me the process of hacking also.
September 28th, 2008 at 6:40 am
@JP: I tried sending a few messages by invoking the URLs and it worked well. Can you let me know after how many messages it stopped working? Yes, .NET code library can be built.
@Vivin: Yes, the initial java code library can be built.
For both the .NET and java library, allow me to use a week’s time. I will not be working on them because its a weekend
So by next weekend, I can give a nice .NET & a java library.
September 28th, 2008 at 8:03 am
ok aswin thank u. I will be awaiting ur java library. Mean while can u tell me the process of hacking also, I too will have try on that and I am very much interested also. or atleast let me know any good site(free) for learning hacking or give me some doc to learn how to do that. Thanks in advance.
September 28th, 2008 at 12:49 pm
Hi Aswin good work. plz do upload the .net library so that I can also look into it and hope to maintain it.
September 28th, 2008 at 2:02 pm
Aswin,
I have sent 6 messages. Even now i tried to send through my code it is not working. I tested from your URL and its working fine. But not from my code.
Also there is no error thrown in the code. But the message is not received. I tried to put one For Loop in my code. Before that it was working fine. Is that could have cause any trouble?
As Vivin Suggested can you through few lights on how to hack / what is the process involved am very much eager to learn few techniques and utilize it in a useful way. can you mail me jpxgen|at|gmail|dot|com
Thanks in advance.
September 28th, 2008 at 7:07 pm
Joyce, thanks a lot for the offer. I will be releasing the .NET and Java libraries on the coming weekend (within 4th & 5th Oct). You can take control of the source code from then onwards.
Jp, there has been no “hacking” here. Please don’t get the wrong picture
By hacking, I meant that a quick solution has been arrived at. Breaking into various systems means “cracking”, which we are *not* doing here.
As far as how the code is implmented, there is one function named “sendSMSToMany”. It accepts 4 parameters. They are the user id, password, phone number and message. This function then sends a few HTTP requests to the way2sms server for logging in and sending the messages. Please go through the PHP code and let me know your doubts. I will be very glad to answer them. The code is well commented.
September 28th, 2008 at 10:57 pm
Aswin,
Anyway let me give a try.
Sorry for the word Hacking. In spite of curiosity i have used that term. I will look into the PHP code. But i don’t have any idea about PHP
September 28th, 2008 at 11:58 pm
Yeah sure aswin I will look into it… but as JP says I am not able to send msg using ur webservice.
September 29th, 2008 at 2:05 am
JP, that’s the spirit
Get back to me if you have doubts after looking at the code.
Joyce, I just now accessed the URL and I’m able to send messages perfectly. Can you let me know how you tried to access?
September 29th, 2008 at 2:22 am
Aswin I have tried again now it is workin… thnks
October 3rd, 2008 at 11:16 am
Stopped again
October 3rd, 2008 at 12:53 pm
Hi aswin, the webservice is not working now, I think it was not working from 3 days. Are any changes are going on?
October 5th, 2008 at 6:42 am
@Vivin, @someone: Looks the way2sms website is down. I’m unable to access the website itself. Lets try again at the end of the day.
October 5th, 2008 at 10:39 am
Hi Aswin has the url changed I see wwwg instead of www.
October 7th, 2008 at 12:56 pm
hi,
i tried to send more than one number 92xxxxxxxx,92xxxxxxxx from send.php from using http://www.aswinanand.com/sendsms.php but the response is done invalin number and messeage does not delivered. script is is not accepting mobilenumber as uid.plz tell me how to send to more than one numbers.
October 7th, 2008 at 10:41 pm
@Tanik: Please read the blog post carefully again. ‘uid’ is the user id you created at way2sms.com. To send the same SMS to multiple numbers, you have to separate 2 or more numbers with semicolon (‘;’).
@Joyce: It looks like way2sms redirects its users to one of their servers dynamically after login. That doesn’t affect us though.
October 9th, 2008 at 9:06 am
You can send SMS free to Cell Phones in Argentina:
Radio Sabalera SMS
Tested and works!
October 14th, 2008 at 8:21 am
hi aswin, how r u? U told to release the Java version of the web service and also asked me to maintain the code in my own system, but what happened. I think u are busy with other works. So may i know how much time will to take for u to release it in Java version.
October 14th, 2008 at 6:59 pm
Sorry Vivin, last week was a bit tight at work. I’m thinking of doing it this weekend. Hope that’s fine.
October 15th, 2008 at 11:00 pm
Thank you aswin, take ur own time b’coz u r alone taking all the pain of doing a good job for us. Thanks a lot.
October 15th, 2008 at 11:04 pm
Aswin, when i try to send sms using the webservice by providing my mobile no. as userid, its saying invalid login but when i give my userid(mailid) instead of mobile no. its accepting and am able to send sms. I think u have made some validations (like login validations) and may I please know what all the validations or preconditions u made for the webservice.
October 16th, 2008 at 11:32 pm
Ashwin, What about the .net version? can you let me know when it will be released? so that we can maintain it.
Jp
October 17th, 2008 at 1:36 am
JP, .net library is definitely in the cards. I’m on it this weekend after barcamp. Its on the way.
Vivin, I just added login validation and phone number validation. If the user enters invalid user id or invalid password, it will be clearly shown.
October 19th, 2008 at 8:52 pm
[...] control system which was developed by Linus Torvalds. I recently signed up at GitHub to host the SMS Web Service program & this session was really very helpful in getting me started. Next session was intro to Ruby on [...]
October 30th, 2008 at 11:33 am
Hi Aswin,
i am developing a free sms portal using jsp.
but i am not getting please help me
send some javacodes related to free sms technology
regards,
Harish
November 6th, 2008 at 12:07 pm
hi,
I tried to login using the url,
http://www.aswinanand.com/sendsms.php?uid=__USER_ID__&
pwd=__PWD__&phone=__NUMBER__&msg=__MSG__
with my way2sms user id and pass which is working in the
way2sms website.. but i got “invalid login ” i need help in getting the web service worked.plz reply
Thanks,
Muthucheliyan
November 6th, 2008 at 1:27 pm
@Muthu: I tried just now with my login ID and password. SMS is being sent properly.
November 13th, 2008 at 10:45 pm
Hi,does it work in Bangladesh?
Thanks
Om
November 13th, 2008 at 11:01 pm
Hello Om, as of now, this works only in India because way2sms supports India only.
November 18th, 2008 at 11:09 am
HI,
can i use you weservices
and http://www.aswinanand.com/sendsms.php?uid=__USER_ID__&
pwd=__PWD__&phone=__NUMBER__&msg=__MSG__
and i copy the above URL and paste it in IE(intenet explore) but it didn’t worked out
November 18th, 2008 at 11:13 am
HI,
can i use you weservices
and http://www.aswinanand.com/sendsms.php?uid=__USER_ID__&
pwd=__PWD__&phone=__NUMBER__&msg=__MSG__
and i copy the above URL and paste it in IE(intenet explore) but it didn’t worked out
one more thing i forget to tell, after pasting the url
in the internet explorer i am getting a message it is done, but the message was not recieved by my mobile which was entered in the url
November 20th, 2008 at 4:48 pm
Thanks,
It is easily integrated in asp.net application
November 27th, 2008 at 8:47 pm
what else Mr.Aswin?
November 27th, 2008 at 8:48 pm
any progress in sms web service?
November 27th, 2008 at 8:49 pm
btw u r working on?
December 18th, 2008 at 3:49 am
Hey Aswin,
I downloaded the file that you have posted on your site and uploaded them to my web server including the .inc file (html parser) as well as the php. I even downloaded the nusoap files and added them to the server. The service works when I send a message and everything, but there is one small problem – it seems to add some slashes (‘\’) wherever I use single quotes in my code. And this happens only when I use the service from my server, but if I send the same exact message from your server, I don’t get that error.
As I am a complete newbie when it comes to PHP, any help you can provide me to solve this problem would be greatly appreciated.
Thanks.
Sharan
December 18th, 2008 at 6:54 am
Sharan, looks like your single quotes are being escaped. To prevent escaping, you have to URL-encode them, which is what we are doing anyway.
December 23rd, 2008 at 9:02 pm
hi aswin, how r u? can u upload the java version of the webservice so that i can maintain both the web service and the my java client program on my machine. Thanks in advance. Awaiting ur code..
December 30th, 2008 at 9:33 pm
hi aswin, Happy new year in advance. how r u? can u upload the java version of the webservice so that i can maintain both the web service and the my java client program on my machine. Thanks in advance.
December 31st, 2008 at 10:52 am
Hello Vivin, wish you the very same. The java library is on its way with the new year. I have just completed it. Will test it once and release it tomorrow.
January 8th, 2009 at 1:02 pm
hi aswin
i saw ur sms idea just now and was bit impressed but after seeing these comments and all
i thought to ask u something now, is there any perfect script currently running now,,
if yes then contact me on my mail id
thanks in advance
regards
blaaze
January 8th, 2009 at 1:48 pm
Thanks Blaaze. Emailed you.
January 12th, 2009 at 3:26 pm
Good work. I tried setting up the webservice on my own server. Had quite a problem because curl_init() was not found. Finally deciphered that I had to make a change in the php.ini file to include the curl extension.
Finally, it did work for me from an asp.net application.
Is there a way that we can overcome the way2sms line which get appended to the sms?
January 12th, 2009 at 4:46 pm
Naveen, its really cool to see that the web service API is working properly now. Currently, we don’t have any control over the way2sms line that gets appended to the outgoing SMS & we are not in a position to remove it.
January 16th, 2009 at 10:09 pm
just realized the way2sms only works for mobile that has an account in india, right? or have I missed something here?
January 17th, 2009 at 10:39 am
xdong, way2sms works only in India. I have mentioned that in the post.
January 19th, 2009 at 6:56 pm
hi aswin, u told to upload the java library. I have been awaiting it. So when can i have it.
January 20th, 2009 at 10:11 am
Vivin, its ready. Check this post – http://www.aswinanand.com/blog/2009/01/free-sms-web-service-java-library/
Thanks a lot for your patience
January 20th, 2009 at 11:58 am
[...] Free SMS Web Service [...]
January 20th, 2009 at 5:24 pm
Hi Ashwin,
Thanks for the webservice. The Webservice works fine.Can u please tell me how to remove the way2sms letters from the sms.
January 20th, 2009 at 6:17 pm
Rahul, the way2sms letters cannot be removed from the SMS because way2sms adds it to promote themselves & place a few ads.
January 21st, 2009 at 5:27 pm
Hi,
Can i use the web service in PHP application??
Please respond
Thanks
January 21st, 2009 at 7:35 pm
Pravin, you can use this in your PHP application. Just invoke the SMS URL using the PHP cURL bindings (http://php.net/curl) and it will work out fine.
January 22nd, 2009 at 6:35 am
hello friends…
i have developed a website which is fully functioning for SMS wanna see that,
visit: aspspider.info/sheebusimmi/
and then u will know there how i have done it…
January 22nd, 2009 at 9:00 am
I have used ur code in my php application ,
but it says invalid login ,
i have created way2sms user id and using that but when i use ur url http://www.aswinanand.com/sendsms.php?uid=__USER_ID__&
pwd=__PWD__&phone=__NUMBER__&msg=__MSG__
it is working ,
however i want to use my server for sending messages
reply
Thanks
January 22nd, 2009 at 11:13 am
Pravin, I have mentioned instructions on deploying the script on your own server in the blog post. Please follow them. If you face any problems, please email me using the “Contact Me” link on the sidebar.
January 23rd, 2009 at 11:22 am
Thanks aswin, thank you very much, just now my system is working fine after a repair and after 5 days i viewing ur post, so i was unable to view ur post on the day u posted but just now i downloaded ur jar file and will see now. once again thanks for ur work.
January 23rd, 2009 at 11:28 am
thanks awin ….
ur java code works fine …..
thanks
January 23rd, 2009 at 8:40 pm
Vivin: Thanks a lot
Please check it out and let me know.
Martin: Thanks a lot
January 25th, 2009 at 10:25 pm
Hi Aswin Anand,
I’ve just used your web service through .NET and am really excited to use it.
Aswin can you please share the .NET version of the Web Service? I’ve my own web site and will use it to maintain the releases.
Waiting for reply,
Thanks
January 26th, 2009 at 2:22 pm
http://www.aswinanand.com/sendsms.php?uid=email@example.com&pwd=password&phone= 9812345678;9933445566&msg=Hello+World
This string means that we submit our username & password to a site but the problem is that they can use it for wrong purpose
January 26th, 2009 at 4:14 pm
Don, you are correct. That is why there are other options such as setting up the script on other websites. Do check them as well.
January 27th, 2009 at 12:08 pm
Sanket, thanks a lot for dropping by. A .net DLL is in the works and I will release it soon.
January 28th, 2009 at 11:54 am
Client found response content type of ‘text/html’, but expected ‘text/xml’.
The request failed with the error message:
–
January 28th, 2009 at 11:59 am
Rahul, when & how is this error coming? Please give more info.
January 28th, 2009 at 4:32 pm
aswin, your web service is not working and when calling it, its giving an exception: “org.xml.sax.SAXException: Bad envelope tag: br” and here is the complete Tree: SMSs..org.xml.sax.SAXException: Bad envelope tag: br
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Bad envelope tag: br
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Bad envelope tag: br
at org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:71)
at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at vivin.LongMessageSending.sendLongMessage(LongMessageSending.java:56)
at vivin.LongMessageSending.main(LongMessageSending.java:33)
{http://xml.apache.org/axis/}hostname:vivinsofs
January 29th, 2009 at 11:55 am
Hi Friend,
I am using this service in my final year project..but this option now not working because way2sms site updated their website..now i am getting error message “invalid login”..can u give that soap concept coding..i can use that and do change..
January 29th, 2009 at 12:05 pm
Vivin & Arthanari, looks like some major changes have happened through way2sms. I will update everything this weekend.
January 29th, 2009 at 12:41 pm
Thank you friend for your response..Can i know how this service working through SOAP concept..then i can learn SOAP..
January 29th, 2009 at 8:43 pm
thank you aswin and yes Way2sms view got changed a lot and added lot of new features like mailid@way2sms.com, other mail related alerts to mobile.
January 31st, 2009 at 9:09 pm
hi
i am using ur wsdl but its throw the following exception
“Client found response content type of ‘text/html’, but expected ‘text/xml’.
The request failed with the error message:”
can u help me please
February 1st, 2009 at 6:41 pm
Dear all, the web service should work fine now. Hope all is ok.
February 1st, 2009 at 9:08 pm
thank you aswin its working fine but the java library (the java class SMS) is giving exception : java.io.FileNotFoundException: http://wwwa.way2sms.com/wapserv
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
February 2nd, 2009 at 10:10 am
Dear Aswin Anand,
Today i checked this concept..now its working..thanks a lot..
February 2nd, 2009 at 3:57 pm
Hi Aswin,
Could you pls U tell me what that .Net version. Actually I would like to use this service from my Asp.Net application. But don’t have any Idea. Can U help me how to use this service from ASP.NET.
Thanks U so much
February 7th, 2009 at 8:45 pm
Hi Aswin!! Thanks a ton! ur code works perfectly! but i need a solution! i can send sms from my web application with your code when i am using the home broadband connection… but when i take my laptop to my college and connect with the college wireless connection, i receive a Unknown Host Exception:wwwd.way2sms.com!!!
i cant figure out whats wrong! can u give any solution??!
February 9th, 2009 at 3:32 pm
yes aswin, the java lib is working fine. thanks for making changes to the java lib according to the changes done in way2sms.com.
February 9th, 2009 at 6:53 pm
Sudharshan, I guess your college has a proxy server configured. Support for proxy servers is coming soon.
February 10th, 2009 at 10:43 pm
Hi,
I tried to use the url with my username and password..But its always says invalid login..Can you help me out.
February 11th, 2009 at 12:22 pm
Nithya, kindly give your 10 digit phone number for username & try again.
February 11th, 2009 at 5:42 pm
dear sir, i am using your web service. It was working properly before one month. today I am trying and it shown invalid login. I have checked about login information and it was correct. pl. help
thanks
February 12th, 2009 at 11:22 am
[...] Free SMS Web Service [...]
February 12th, 2009 at 11:24 am
Vinod, please download the library again and try. The web service has undergone some major changes.
February 13th, 2009 at 11:50 am
how to remove ad from the sms
February 13th, 2009 at 2:17 pm
Bimal, you cannot remove the ad from the SMS.
February 16th, 2009 at 12:31 pm
Hi Aswin,
can you please tell the new url for
“http://www.aswinanand.com/sendsms.php?uid=__USER_ID__&
pwd=__PWD__&phone=__NUMBER__&msg=__MSG__”
as after the amendment in website it is not working at all and says invalid login.
and I am also waiting for the .net version
thanks in advance.
Ruchika Sharma
February 21st, 2009 at 10:58 am
I am developing web application and i have a feature called “send sms”.While i am searching for free sms services i found your site.
I am using java for my application development,i saw your sms.jar file but i cant understood how to proceed to use your service.Please help me to use this service.
February 21st, 2009 at 11:00 am
Satya, what help do you require? I believe there are clear instructions in the blog post.
February 23rd, 2009 at 5:50 pm
Hi Aswin,
I am Sanjay, using your web service in ASP .NET app for sending SMS. Is there any way to capture acknowledgement whether receipt ants got the msg or not?
February 23rd, 2009 at 6:33 pm
Sanjay, as of now, there’s no way to receive any acknowledgment. But if you discover any, please let me know so that it can be implemented.
March 4th, 2009 at 3:51 pm
Hi Aswin,
I’m trying to use the web service u have provided.
following is the exact code I’m using.
but when excuted it simply returns ‘invalid login’, where as I have checked the login & I’m able to to so through way2sms portal.
Dim smss As smsSketch.SendSMS = New smsSketch.SendSMS
Dim r As String
r = smss.sendSMSToMany(“my_user_id”, “my_pass”, “9987888990″, “My_message”)
Response.Write(r)
Also gone thru the blog for similar issues could you help me in this stuff.
Thanks & Regards
Jose.
March 4th, 2009 at 6:20 pm
Hello,
I am implementing the SMS alerts, i am using PHP lib for sending it but it show’s invalid login, can any one help me out, or u guys getting same error,
please help
Thanks in advance
March 10th, 2009 at 12:16 pm
Hi,
I am a novice in Java…know nothing more than writing the main function… Want to add a functionality in my project which will ask for the text to be sent, the number to which the sms will be sent… and then on submitting, the application will send the sms.
Please help. Please send me the code which i should implement in my java class… my passing then exam depends on this project and this project of mine depends on you…
March 13th, 2009 at 3:15 pm
Hi Aswin and All,
I have figured out why many of the prgs return as ‘invalid login’ when invoked any of the given methods in the blog.
This is were I was stuck.
All login registered thru Old version of way2sms fails.
Try registering with the new version of way2sms and there u go wroom, wrooom, wroooom . . . .
Happy SMSing.
March 20th, 2009 at 11:23 pm
I’ve never given this a try, but I think it’s about time I do.
March 21st, 2009 at 3:56 pm
Good work….
Kudos
April 15th, 2009 at 5:24 pm
hi,
how to use this sms sending web service in asp.net..
am getting error..
please help me
April 15th, 2009 at 7:23 pm
Hi Aswin,
You have done a great job. Keep it up. Just a quick question, is it possible to remove the appended ad message of way2sms from receieved sms?
April 16th, 2009 at 9:49 am
Gagan, since the appended message is added by way2sms, its not possible to remove it.
April 20th, 2009 at 12:13 am
any web service for php ……..
plz… i need it…
April 22nd, 2009 at 6:54 pm
Not working.
Are u gong to update the code. Is this can be implemented to other network
April 22nd, 2009 at 9:16 pm
sorry, php working fine.
Can i know a ad free sms gateway in which this script can be used
April 24th, 2009 at 6:20 pm
Hey Hi Aswin,
I have used the webservice u have shown.
Let me tell you i m very much impressed with it.
And its working fine with my asp.net code.
Now,the 1 thing i need to ask u is regarding whenever the msg is send to it’s recipient it shows my number.
Can it be possible in any way that we can give custom name while we are sending sms that could be displayed on recipient’s mobile like MyToday if u have seen.
Can u give Suggest some alternate ways to do this.
Thank You for ur useful article and webservice.
Thanx a lot.
Regards,
NK.
April 24th, 2009 at 8:33 pm
Nakul, the message you send contains your number. However, its added by way2sms and we don’t have any control over it.
April 29th, 2009 at 5:00 pm
hi Aswin
I have used the webservice u have shown.
i want the method in C library so that i can use it in web application as you have given the java library.
Thankyou for useful article and webservices
April 29th, 2009 at 5:33 pm
hi nakul ,
here i m also trying to do same thing with asp.net n C#
can u plz pass me that code ,
how i can do this
and how can i add this webserive in my asp.net , but they r allready in php.
plz help , thankx
April 30th, 2009 at 12:33 pm
hi aswin,
its nice , but one thing how can i redirect to my original pages ones i send sms from u r service and i am how i can get done message ,
May 5th, 2009 at 12:11 pm
Thanks for making the source publicly available. Will be exploring it now
May 8th, 2009 at 9:25 am
when i add ur webservice in .net 2003 “display credential dialogbox” display and it ask username,password,domain.what should i give.plz help me
May 8th, 2009 at 12:41 pm
thnaks Aswin……..
its really working 4 me………
expecting more from u
May 9th, 2009 at 12:05 am
Aswin…
i downloaded sendsms.php and hosted in myweb
“www.autograph.000space.com/sms/sendsms.php”
but it shows invalid login .
but when i copy and pase the url and using with ur
http://www.aswinanand.com/sendsms.php its works fine
May 11th, 2009 at 6:54 pm
Hi,
Kindly let me know how can I use the code in ASP.Net Technology.
Thanks & Regards,
May 11th, 2009 at 6:57 pm
@cssk
Can you pls help put with the same as I have also tried webserviesX code.
May 14th, 2009 at 11:56 am
when i add ur webservice in .net 2003 “display credential dialogbox” display and it ask username,password,domain.what should i give.
I already ask this doubt to u,but u not reply me.plz help me.Its very urgent
May 14th, 2009 at 4:36 pm
Thanks
I found a list of sites to send free sms hope it helps everyone
http://www.gupshupblog.com/2009/04/hundreds-of-sites-to-send-free-sms/
May 18th, 2009 at 11:12 am
when i add ur webservice in .net 2003 “display credential dialogbox” display and it ask username,password,domain.what should i give.
I already ask this doubt to u,but u not reply me.plz help me.Its very urgentt
May 30th, 2009 at 5:36 pm
new way2sms allows 140 charecters plz update ur service
June 1st, 2009 at 10:37 pm
Hi Aswin,
Gr8 job done by you.. my appreciations.. Thanks for your web service..its working fine..
June 5th, 2009 at 1:11 am
My IT Team has blocked way2sms.com. I think because of this SMS is not going.
June 5th, 2009 at 9:26 pm
Gr8 job…..
but
SMS.SendSMSToMany(996*******, “password”, 997*******, “message”);
not working !
whreas this is working
http://www.aswinanand.com/sendsms.php?uid=996*******&pwd=password&phone=997*******&msg=message”
help urgent plz
June 11th, 2009 at 1:12 am
U Rock
June 19th, 2009 at 3:54 pm
Hi Anand
I want to use the webservice as in http://www.aswinanand.com/sendsms.php. But when i opened and try to view the source to save as WSDL i get an error message “XML source file is unavailable for viewing”. How i can consume the WSDL to my application?
Thkx
June 19th, 2009 at 4:24 pm
Hi Anand,
i jus sent a message using the web http call in ur initial post:
http://www.aswinanand.com/sendsms.php?uid=9933445566&pwd=password&phone= 9812345678;9933445566&msg=Hello+World
i’m recv’ng the message, but is it possible to supress the sender mobile number with some Text and also the message contains ‘Sent via Way2sms.com’, can this also be supressed?
June 19th, 2009 at 6:12 pm
great job
well done i m looking for that….
from last few days
thanks a lot..
June 22nd, 2009 at 3:39 pm
Hi
Is it possible to mask the sender number with some Text and also delete the text “From Way2SMS.com” in the message body?
June 22nd, 2009 at 4:16 pm
Hi Prabhu, that’s not possible.
June 28th, 2009 at 1:24 am
Hi Aswin!!!
Thanks @ lot !!! for ur script ..
I am looking for this script for past few days ..
July 1st, 2009 at 5:55 pm
Hi Aswin,
Great work!!!. one concern ( not regarding the code ) is how will I come back to my page? since it showing “done” and stays there, I am not able to come back to my page.
Please help me.
Thanks
Rakesh
July 1st, 2009 at 7:00 pm
Awesome!!!
Thank You very much Aswin.. I just need this..
But can we send msg to any number of mobiles??
Thanks
Mujahid
July 5th, 2009 at 10:07 pm
Just a small doubt !!! How are you able to trace the requests that are done by the way2sms site itself??
Is it any kind of backdoor trick?
Please also mail the reply to the above mail address..
Just being curious about the technique..
July 6th, 2009 at 8:37 am
@Sai: Please check out the source code
July 17th, 2009 at 1:08 pm
Hi Aswin,
I am trying to build a small web app to send sms using your web service.
Problem is, when I paste the link in address bar with required parameters it works fine. However, when I try to build it using wsdl.exe for .Net I get following error:
“The request failed with HTTP status 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied.).”
Am I doing something wrong? I haven’t used wsdl webservice before. Please tell me what should I do to overcome this execption.
Thank you.
Regards,
Rupesh
July 17th, 2009 at 1:16 pm
Hi Aswin,
I just missed out to ask you whether it is possible to to pass credential details through the webservice, or is there any way to pass credential details before I access your web service. I think wsdl.exe uses ASP.NET user to authenticate proxy, and is may not have the required access rights!
Regards.
July 18th, 2009 at 5:10 pm
http://www.aswinanand.com/sendsms.php?uid=9933445566&pwd=password&phone=9812345678;9933445566&msg=Hello+World
This is work fine.
but i use the sendsms.php along with nusoap folder. i have an error like invalid user.
http://vasanengg.freehostia.com/sms/sendsms.php
what is the solution for this problem?
July 22nd, 2009 at 10:22 pm
Thanks Ashvin,
I had developed a small mobile application (for windows mobile) to sent SMS using ur service.
If works perfectly fine
thanks for your efforts
if any one is interested then PM me on pawandeepalw @ Yahoo I will share it with you
Thanks & Regards
Pawandeep
July 22nd, 2009 at 10:52 pm
[...] Deployment in your own server : Click Here « Remove malware,iframe.inf virus from your [...]
July 23rd, 2009 at 12:37 pm
Hi Anand,
I need small help regrading free sms, i have set up method 1 which is the first for sending free sms.
i got the result as well but after sending the message
i am getting a page with done message.i have to avoid this message and i need to get my previous page,Can you please tell me the process how to avoid this(done) message.
July 23rd, 2009 at 11:04 pm
Friend I Downloaded your sendsms.zip, I also downloaded NUSOAP Library containing all detailed Files.
I put in my Webserver in the said manner but still Getting as
invalid login
What to do man?
Please Help Me…
July 24th, 2009 at 4:28 pm
hey aswin..
ive successfully implemented this sms sending code via sms.jar file.
but i want to know how we can incorporate proxy settings while sending http request… with user authentication??
do you have java code for that.
any pointers in this will be really appreciable. Thanx
July 27th, 2009 at 4:42 pm
Hi Anand,
i’m using the webservice from your side to send the sms through a .net windows service client. when debug the service i’m able to send the SMS. but once the service installed in the system i’m not able to send the SMS and i’m getting the error “The underlying connection was closed: The remote name could not be resolved.” what could be the problem?
can you pls help me as soon as possible.
thanks in advance.
July 27th, 2009 at 9:08 pm
hi, things did work well for me:)
too good:)
July 30th, 2009 at 1:08 pm
Hi aswin
i am using u r web service its working fine.
It’s legally ????????????????? to work, please tel me, i have doubt. please my dear friend.
July 31st, 2009 at 11:04 am
Venugopal, its possible you are behind a firewall that’s refusing outbound connections.
August 4th, 2009 at 12:52 am
hey ..
how do i catch authentication error?
BufferedReader br = new BufferedReader(new InputStreamReader(uc.getInputStream()));
this br variable is always null… how to proceed?
August 6th, 2009 at 12:37 pm
This API is very nice Mr.Aswinanand, im testing it on my local server. i’m using the parameters in a process.php file the code is as follows:
im passing the variables phone=$mobile & msg=$name but it’s giving following error msg.
done invalid number;$mobile
please solve this issue.
August 6th, 2009 at 5:30 pm
Aswin,
I am using your web refrences for sending free sms in .net,thanks for your help and some times i cant able to send messages,is ther any limitation,can I have the updated version for .net web reference
August 7th, 2009 at 1:46 pm
Hi Aswin,
I am working on Flex 3 , am not able to send sms usig that WSDl, Can you please help me out
thanks in advance
August 8th, 2009 at 7:01 pm
Suman, please try using the GET/POST APIs. Kindly check the same and let me know. As far as I know, the WSDL is working fine.
August 10th, 2009 at 4:04 pm
Dear Ashwin,
If I send SMS continuously means,some times the messages will not be delivered,bot it was showing tht messages was sent,how to over come this?is ther any restriction to send sms continuosuly………………..
can you help me to get out of this??????
Nandri,
K.Prakash.
August 14th, 2009 at 9:17 pm
Dear Ashwin,
Thanks a lot. The service is working fine without any problem on web. But locally getting some “fatal error.curl_init() fail”…error. never mind.
Is there any way to send sms without going for way2sms?
-Sampath
August 16th, 2009 at 12:33 pm
Sampath, you need to install curl & its php library on your system. Its usually a matter of just enabling the curl extension in php.ini.
Prakash, sometimes way2sms has restrictions on the number of SMSes sent continuously. We don’t have control over that.
August 17th, 2009 at 4:14 pm
Thanks Aswin
August 18th, 2009 at 10:51 pm
hi Aswin,
We incorporate your WSDL to send SMS message from my application. I need to know whether its support International SMS.
Please let us know is there is any provision for us to send SMS across the Globe.
If you are not offering this service, can you recommend any of other service provide who gives International SMS.
August 19th, 2009 at 10:03 am
Shankar, as far as I know, way2sms doesn’t support international SMS yet.
Avadhani, if you want to send and receive SMS from a GSM connected to a system, you need to program it using AT commands. There are lot of softwares already that allow you to do that.
August 19th, 2009 at 9:16 pm
Ashwin,
Thanks for your reply. I am able to send msg from my website, but not from localhost. can you suggest some freeware using with i can send sms from my pc. i m using nokia pc suite right now. But I dont know how to link with my PHP/MySQL data base.
Thanks.
August 21st, 2009 at 1:04 pm
why it is showing done invalid number
August 21st, 2009 at 4:53 pm
Hi Aswin,
I used the api u provide to send sms…it really works.
You have done a great job man. Thanks.
Keep it up doing such good work.
August 24th, 2009 at 7:43 pm
Hi Aswin
I tried to add the php file sendsms.php and the library nusoap-0.7.3 on my geocities account but it is not working, can you please provide me some leads? Just by placing the files in the order u described should work? Can u give me some free php hosting website where i can host my server?
Thanks in advance.
August 25th, 2009 at 8:37 am
GG, I don’t think geocities supports PHP. As far as I know, geocities supports hosting only static files. You could host your files at sites such as 110mb.com which provide free PHP hosting.
August 28th, 2009 at 2:41 am
I have used ur code in my php application ,
but it says invalid login ,
i have created way2sms user id and using that but when i use ur url http://www.aswinanand.com/sendsms.php?uid=__USER_ID__&
pwd=__PWD__&phone=__NUMBER__&msg=__MSG__
it is working ,
however i want to use my server for sending messages. CAn i have ur sendsms.php file coz ur url works but when i use this file to my server it says “invalid login”. plzzzz help and thank u
August 28th, 2009 at 3:05 am
Or can u just send me the script of ur sendsms.php plzzzzzz
August 28th, 2009 at 7:57 am
Pratyush, the source code download is available at the end of the blog post.
August 28th, 2009 at 9:13 pm
Ya i have dwnlded that but its not wrking yet. Giving the same error “invalid login” plzzzzz help
August 31st, 2009 at 3:32 pm
Hi Aswin
One more question. Does way2sms.com provides the way to send sms via php script or you yourself found this loop hone. I am asking this because I want to develop some kind of application which can send sms via internet but I am not sure if I would need permission from way2sms or I can use their services as it is. Can you please guide me to some link which actually says that i can use the website service for my application?
September 4th, 2009 at 8:50 pm
hello aswin i am useing your webservice it was working fine when i am useing it on local host. but as soon as i use it on my website following error is comming.
CS0246: The type or namespace name ‘com’ could not be found (are you missing a using directive or an assembly reference?)
although i hava upload same web config and app_web refreence folder to the website.
September 5th, 2009 at 1:02 am
hi,
The script seemed to be working fine for me. I recieved a message.
Has anyone made a whole page which can send smses to many nos at once ?
September 5th, 2009 at 2:03 am
HAY ………
Fine Its Working….
Thank U
September 7th, 2009 at 4:48 pm
hiii frnd i m using ur webservice in my project but i have one prob is that in way to sms they r adding advertisement at the last of msg. so i want to know can i remove that and i want to put my name thr.
September 20th, 2009 at 6:07 am
Check this site.
i implement this web service.
September 20th, 2009 at 6:08 am
Check this site.
http://freesms.ajmerainfo.com
i implement this web service.
September 29th, 2009 at 1:52 pm
Aswin thats an excellent PHP script. I am facing a problem that when we host it locally or on our website, it reports invalid login. Appreciate if you can help us out.
Meanwhile I thought I’d share with others who had another issue of a display that says done invalid number.
The invalid number comes because you have
http://www.aswinanand.com/sendsms.php?uid=UID&pwd=PWD&phone=PHONE1;&msg=Hello+World
a semicolon after PHONE1. If you DO NOT have multiple phone numbers, remove that semi colon. If you have multiple phone numbers, separate them with a semi colon but not for the last one.
Thanks,
Venkat
September 29th, 2009 at 3:02 pm
i got error that invalid login but i have account in way2sms and i can send sms using from your http://www.aswinanand.com/sendsms.php script
October 3rd, 2009 at 11:28 am
Create Account and use it’s free webservice.
Website:
http://www.ajmerainfo.com
Webserivce:
http://www.ajmerainfo.com/ws/ajsms.asmx
More Detail Contact Me.
ajmerainfo@gmail.com
October 3rd, 2009 at 11:52 am
Hi Aswin,
That’s a nice PHP script and I appreciate you for the same.
Meanwhile on line number 33 which has,
“&q=Deepika%20Padukone%20Photo%20Gallery” is where I am confused with.
Can you kindly provide me the significance of the above and of course the line 33.
Thanks in advance.
Waiting for your reply eagerly..!
October 3rd, 2009 at 12:24 pm
hi awsin !!!
although i can send sms from ur website.. im unable to send then using ur php script… it seeems u made some changes in ur website but not in the downloadable script.. plzz share ur php script again… it says invalid login whenever i try
October 3rd, 2009 at 4:37 pm
Hilbert, that deepika padukone stuff is nothing
. When I was developing this library, this value was hard-coded in their HTML form. I just reused the same hehe! Otherwise, there’s no significance to that line. It can be changed to anything you wish.
October 3rd, 2009 at 4:38 pm
Prashanth, are you behind a proxy or something?
October 4th, 2009 at 12:31 pm
hi you are great man..
this work very good.. in my asp.net website
thank a lot….
but one question
this is legal or not???
but its good
October 5th, 2009 at 6:12 pm
hi i use this sendsms.php script on my domain , i pass correct parameter to uid,pass bt i got Invalid Login error plz reply
October 7th, 2009 at 3:54 pm
umm… actually i deployed it in http://v-smschat.freehostia.com/sendsms.php
this host supports curl.. u think i hav to set internet access proxy and port??
its live.. try checking it urself..
it always says invalid login
October 7th, 2009 at 7:03 pm
Prashanth/Vijay, I will check this and get back in couple of days. Thanks for reporting this.
October 8th, 2009 at 4:47 pm
I was trying to invoke your webservice in asp.net, but struck in the middle of code.
plz do u have any sample code of how to implement in asp.net
October 8th, 2009 at 9:02 pm
Hi Aswinanand Team Your WSDL is working correctly Thank You for your WSDL File.
I want to send my mail through the wsdl…..
Please can u send wsdl for that…
Thank You.
October 9th, 2009 at 3:37 pm
Hi Great Man !!!
your wsdl working in asp.net also…
But i can’t send more than 100 SMS.
We can’t sent more then 100 sms….
If you know please reply me…
Thank U Great Man.
October 12th, 2009 at 2:32 pm
Aswin i deployed the webservice in iis 6.0.
But when i send sms using these webservice its giving me an error like ‘Client found response content type of ‘text/html’, but expected ‘text/xml’.
what may be the reason?
October 15th, 2009 at 7:29 pm
hello. i am an ASP.NET developer.
thank you for you great service.
but i think your webservice needs a little upgradation. way2sms has updated recently and this web service of yours isnt working properly.
Hope you look into the matter.
Thnx again.
October 16th, 2009 at 10:30 am
I will check it and get back.
October 16th, 2009 at 3:14 pm
hi…
i guess they have stopped all this..
when i login using ur trick, it says invalid login
October 16th, 2009 at 3:19 pm
yesterday it was working good, but now isnt working at all….
October 16th, 2009 at 4:37 pm
Hi Aswin sir,
I started using your service “http://www.aswinanand.com/sendsms.php?uid=9933445566&pwd=password&phone= 9812345678;9933445566&msg=Hello+World” to send SMSes successfully for the last one week. But suddenly it stopped working and giving error “Invalid login” from today afternoon. It seems way2sms might have modified their site. Would you please help me in this regard?
Thank you sir.
Happy DIWALI!
October 16th, 2009 at 4:53 pm
Hi,
Great piece of work Anand..
If any of you get an “Invalid Login”, try changing the following in the sendsms.php :
Replace all instances of wwwd.way2sms.com with wwwi.way2sms.com (the d with the i). It started working fine for me when I changed this in the sendsms.php.
October 20th, 2009 at 1:56 am
Hi,
I would like to know how i can use this in my windows C# application .net 2.0 . Sending the sms.
plzz help me.
Any format is avilable??
October 20th, 2009 at 2:42 am
com.aswinanand.www.SendSMS objSendSMSWorld = new SendSMSInWindow.com.aswinanand.www.SendSMS();
objSendSMSWorld.sendSMSToMany(“98443″, “ullall123″, “9740190000″, “hello”);
my os is vista i can’t able to send it showing the error connecting server machine http://www.asinanand.com failed …
Help me
Thanks in advanced..
October 24th, 2009 at 1:04 pm
Awesome work dude. Saved loads of my time
November 1st, 2009 at 10:40 am
hi,
It is super. I think we no need to send sms with web serive.. Just URL formation is enough.
November 1st, 2009 at 6:15 pm
hi,all times invalid login message comes,bt when try with “http://www.aswinanand.com/sendsms.php?uid=……..” it works fine.can u send ur correct php code in my email id?
thnx
November 1st, 2009 at 6:16 pm
hi,all times invalid login message comes,bt when try with “http://www.aswinanand.com/sendsms.php?uid=……..” it works fine.can u send ur correct php code in my email id?
thnx
adiroy81@yahoo.in
November 1st, 2009 at 10:41 pm
hi,plz send ur sendsms.php code,its not working properly,invalid login message comes.
adiroy81@yahoo.in
November 2nd, 2009 at 5:04 pm
sir i avoid one mobile number for way2sms message please help me some problem will create with that num,ber please help me sent me my email id details ….
November 3rd, 2009 at 8:51 am
Aditya, the service seems to work fine for me. Guess you are doing some mistake. Please follow the steps properly.
November 3rd, 2009 at 6:21 pm
i set up your code on my site but it give error
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/zenwa0/public_html/sms/sendsms.php on line 36
invalid login
plz help me i m wtng
November 3rd, 2009 at 6:24 pm
i m using correct password and username but i get invalid error
November 3rd, 2009 at 6:33 pm
hi,all times invalid login message comes,bt when try with “http://www.aswinanand.com/sendsms.php?uid=……..” it works fine.can u send ur correct php code in my email id?
vijayraj.bmt@gmail.com
November 3rd, 2009 at 7:15 pm
Vijay, what exactly are you doing? Can you describe the steps you took? It works for me correctly.
November 4th, 2009 at 3:24 am
Ashwin i am so impressed by your work. Please contact me on rai@bold.co.in need to share/discuss about this sms service. Thanks!
November 6th, 2009 at 11:45 am
hello aswin,
i checked your sendsms functionality.
but could you please provide me the sample code
in ASP.NET. how to use it ?
November 6th, 2009 at 11:53 am
helllo aswin
i tried your service
but its showing me message
‘done invalid number; 9812345123′
why it is showing this ?
November 7th, 2009 at 10:09 am
Hello Genius,
I have made an application based on the page (in asp.net)which posts data to the sendsms.php page,
it was working fine a week ago but now it throws an error
Exception Details: System.Net.Sockets.SocketException: A socket operation was attempted to an unreachable host 208.88.124.152:80
Please advice.
November 7th, 2009 at 6:39 pm
Himanshu, please try now. It should work.
November 9th, 2009 at 8:27 pm
Please Can You Help Us. Can You Proide Your Code In Asp Instead Of PHP we will be very thankfull to you…
Please Try To Reply As Soon As Possible Mail us the asp page if u can.
Regards,
Nitin Lohchab
(Server Administrator)
November 10th, 2009 at 3:31 pm
Nice one
November 13th, 2009 at 1:07 pm
Hi Aswin
I use Your free sms service code. It is fantastic.
But when i try to use on my server it show error “Invalid login”. I will take my direct url to sms root in your website textbox. check it & reply on my email plz
November 18th, 2009 at 10:20 pm
Hello Aswin,
Thanks for creating this! I have used this knowledge to create a GTalk bot for way2sms. Add “way2sms.bot@gmail.com” and type ? to know more.
November 19th, 2009 at 11:10 am
Same error is comming here……can u upload the latest sendSMS.php code in the URL at top.. Share the code you are using…. The downloaded code from the URL u’ve provided for SendSMS.php is not working, always there is Invalid login. Why is it comming..Thanks in advance
November 20th, 2009 at 11:38 pm
i hav to set internet access proxy and port.so where i can get port number & server name for access the services.
November 23rd, 2009 at 2:38 pm
Some error is coming here……when i am deploying the application on my web server, i followed your instructions and create directory structures and do everything you said above but not working
please check and reply me soon…..
thanks
the url is:(password is not true here)
http://harshtradelink.com/sms/sendsms.php?uid=9724473839&pwd=somthing&phone=9724473839&msg=Hello
error is:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/harshtra/public_html/sms/sendsms.php on line 36
invalid login
November 24th, 2009 at 3:42 pm
I just put the sendSMS.php to my webserver under www in wamp, and its working neatly, but still im getting an error, while adding reference to the PHP web service wsdl, my .NET page is getting crashed in catch with saying “Request is not well-formed XML document”.i’ve re-written the sendSMS.php to return xml formatted data but still em not able to use this web service in my local, BTW by running the url as http://localhost:port/sendSMS.php/uid=no&pwd=pwd&phone=mobile&msg=HelloWorld is sending SMS, if anybody having the same problem kindly share his views. Tbanks.
November 25th, 2009 at 6:13 am
/*===Login====/*
public static string Connect(string username, string password, out int status)
{
status = 0;
string cookie = “”;
try
{
string uri = “”;
string postData = “username=” + username + “&password=” + password;
byte[] byteArray = Encoding.UTF8.GetBytes(postData);
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(“http://wwwd.way2sms.com/auth.cl”);
request.Method = “POST”;
// request.KeepAlive = true;
request.AllowAutoRedirect = false;
request.Accept = “*/*”;
request.ContentType = “application/x-www-form-urlencoded”;
request.Referer = “http://wwwd.way2sms.com/”;
request.ContentLength = byteArray.Length;
request.UserAgent = “Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5″;
Stream dataStream = request.GetRequestStream();
dataStream.Write(byteArray, 0, byteArray.Length);
dataStream.Close();
try
{
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
WebHeaderCollection headers = response.Headers;
if ((response.StatusCode == HttpStatusCode.Found) ||
(response.StatusCode == HttpStatusCode.Redirect) ||
(response.StatusCode == HttpStatusCode.Moved) ||
(response.StatusCode == HttpStatusCode.MovedPermanently))
{
// Get redirected uri
uri = headers["Location"];
uri = uri.Trim();
if (headers["Set-Cookie"] != null)
if (uri.IndexOf(“Main.jsp”) > 0)
{
status = 1;
cookie = headers["Set-Cookie"];
}
else
status = 2;
else
status = 2;
}
else
status = 3;
}
catch { status = 4; }
}
catch { status = 5; }
return (cookie);
}
*/====Send SMS====*/
public static string SendTo(string mobileNo, string message, string cookie)
{
string oksent = “Error”;
string postData = “HiddenAction=instantsms&login=&pass=&custid=undefined&MobNo=” + mobileNo + “&textArea=” + message;
byte[] byteArray = Encoding.UTF8.GetBytes(postData);
try
{
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(“http://wwwd.way2sms.com/FirstServletsms?custid=”); ;
request.Method = “POST”;
request.AllowAutoRedirect = false;
request.Accept = “*/*”;
request.ContentType = “application/x-www-form-urlencoded”;
request.ContentLength = byteArray.Length;
request.Headers.Add(HttpRequestHeader.Cookie, cookie);
request.UserAgent = “Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5″;
Stream dataStream = request.GetRequestStream();
dataStream.Write(byteArray, 0, byteArray.Length);
dataStream.Close();
try
{
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
oksent = response.StatusCode.ToString();
response.Close();
}
catch
{
oksent = “Error”;
}
request.Abort();
}
catch { }
return oksent;
}
November 27th, 2009 at 8:31 pm
Hi Aswin Anand,
Can you help me. I need to receive a sms and store in database and respond to the msg. I am searching this for more than 6 months but nothing works. Please Help me Please
November 28th, 2009 at 1:00 pm
Hi Aswin,
First, i like to say thanks for what you doing here. Really it helps many of us.
I need your help
1) We are not able to track the send status corectly. when we repeat the send process 2 or more times, the status has both “done” and “invalid no” text attached to it. (Mob no is correct nd msg is also delivered)
2) Can we handle sendSMSToManyCompleted event args,,,i tried but its not working.
Kindly tell us ur suggestions !!!!! Thnks in advance.
November 28th, 2009 at 10:43 pm
To Aswin Anand
thanx a lot… for this page man…
i have put it on my 110mb.com site and using through vb.net software.
recently i have made a Gtalk bot that connects to that server so we can send sms diretly from Google talk or Gmail chat….
it works great..all my friends love this bot..
if u want 2 try
add msg2india@gmail.com to ur chat list
for more help
http://maulik.110mb.com/Sandesh.html
thanx man…
November 29th, 2009 at 10:45 pm
Wonderfull job Ashwin,
I tried ur work and its 90-95% reliable. however Sometimes i get the message as “invalid Login” and some time “Done” but no message arrived at handset. Any way many thnks for the web services. I need one more help, how could i send the flash sms using ur URL? i belive dcsdec=10 parameter for smsc gateway should work, but that is not in this case, hope ur ignoring any parameters sent in the URL other than basic 3 parameters. could you help me on this? (obviously way2sms should support this, isn’t it).
Cheers
Arvind
November 30th, 2009 at 12:18 am
Hello Arvind, I don’t think flash SMS can be sent through this.
November 30th, 2009 at 2:52 pm
Hi Aswin sir,
I am getting benefit by using your service “http://www.aswinanand.com/sendsms.php?uid=9933445566&pwd=password&phone= 9812345678;9933445566&msg=Hello+World” to send SMSes successfully. But suddenly it stopped working and giving error “Invalid login” from today afternoon. It seems way2sms might have modified their site. Would you please help me in this regard?
Thank you sir.
November 30th, 2009 at 5:36 pm
Hi Ashwin..
This is Sandesh i was using your free sms service from past one week today suddnly it stoped working im facing same error which is specified by above blogger.Please help us in soving the error.
with regards
sandesh
November 30th, 2009 at 5:38 pm
Hello Bora and Sandesh, thanks for bringing it to notice. I will check it out tonight and update.
December 1st, 2009 at 9:54 am
Hi Ashwin..
Thanks allot now SMS service is working fine.I have one doubt about using your service im using
Request.Redirect(“URL(That include web adress phone numb and message)”) in asp.net when i execute this line the page will navigate to URL’s page which displays done message and each time i need to press back button to return to calling page.Now my doubt is can i use your service without navigating to that page.Plese give me a solution for this.
With Regards
Sandeh
December 1st, 2009 at 4:18 pm
Hi Ashwin..
Hw r u..it’s a great webservice for sending sms..i m using ur webservice from last few weeks..it was working gud but from 2 days it’s showing some error. Some times it shows “Invalid Login” and sometimes “Done” but i didn’t get msg on my mobile phone..so can u tell me how to rectify this problem..Thanks in advance..looking for ur reply..
Regards,
Akhil
December 3rd, 2009 at 12:56 pm
Yes u can do it. u just create a windows service and use webbrowser control there. then use webbrowser.url=new uri(“http://ashwin….”);
and u’ve done it .
…
ashwin one ques to u, now the link is just showing done message but not delievering message, same with the php code, 3 days back they both were working….can u resolve it
December 3rd, 2009 at 1:21 pm
Hi Aswin sir,
Your site was not available from 01-dec-09 A/N to 03-dec-09 F/N. Now your site is available and your service seems to be working.
But
“Done” appears but message is not being delivered.
Sir, please help me in this regard.
Thanks in advance.
December 3rd, 2009 at 6:18 pm
Hi aswin,
I have made an application in asp.net which send sms using your webservice http://www.aswinanand.com/sendsms.php
it was working fine till two days before,but it is not working now.
Could u help me and let me know whether there is any modifications in that web service.
December 3rd, 2009 at 9:12 pm
i set up your code on my site but it give error
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/a1022821/public_html/vipin/sendsms/sendsms.php on line 36
I have downloaded your code, extract it in a folder(i.e. sendsms) under my root dirrector(public_html). now when i am running below code it display the above mentioned error.
http://www.raebarelicity.com/vipin/sendsms/sendsms.php?uid=mynumber&pwd=mypassword&phone=9716593923&msg=haisir
where,
mynuber= some numeric 10 digits number
mypassword= valid password
Kindly help me.
December 3rd, 2009 at 10:42 pm
Hi Aswin,
Thanks for your work. Its really brilliant. I am sending msg the done is coming but the msg is not been delivered so please check it out and help me.
And also Can you tell whether we can hide sent via way2sms.com or any other solution like this please reply as soon as possible
Hope your future be a good one. Best wishes
December 4th, 2009 at 8:57 am
Hi Aswin,
Thanks for updating ur sms service.. it is woking very good..
But when i try to download new php or java code at ur homepage it displays this page…
Please help me…
December 4th, 2009 at 10:06 am
Hi aswin…
Your web service is parfectly fine now.But im unable to find the exact relation ship between your web service then way to SMS and also im using refrence to http://webservices.net/SendFreeSMS web service.In my project im using a COM which conatin a SendFreeSMS class wen i cal that it will send an SMS and I Wanted the details about COM sice im first time using this web service
December 4th, 2009 at 10:41 am
Hi Aswin sir,
Thank you very much. Now your service is working fine.
Keep good work and helping us.
With regards.
December 4th, 2009 at 11:27 am
hi aswin
its a grt work to develop a web-service for the way2sms
but from last 2 days i am unable to send any messages to my frnds or even to my own no….
every thing that i mentioned are perfectly correct only
but whts the problem i dnt know…
suppose if enter incorrect pwd it is saying invalid login
after sms is submitted “done” response is displayed but the sms is not delivered
plz slove my problem
Regards
Vinnusoft
December 4th, 2009 at 12:16 pm
Hi Aswin,
i want to inform you that the way2sms modified some files ans so the sms is not sending.
and from my investigation i found the solution for that.
so plz pass this information to all they using ur greate service.
find the following line fron the sendsms.php and replace it with this
curl_setopt ($curl, CURLOPT_POSTFIELDS, “HiddenAction=instantsms&login=&pass=&custid=undefined&Action=custfrom50000&MobNo=” . $p . “&textArea=” . $msg);
way2sms Adds a new Hidden field in “InstantSMS.jsp” page
“Action=custfrom50000″ so u need to add this for working the service.
visit my site for the new file
http://download.samplephpcodes.com/sendsms.zip
December 4th, 2009 at 12:18 pm
sorry the link was http://downloads.samplephpcodes.com/sendsms.zip
December 4th, 2009 at 12:20 pm
Hi Aswin Sir, I will be really appreciate if you will see into my matter which i have mentioned in my earlier post. Kindly look into the problem. Thanks a lot
December 4th, 2009 at 5:52 pm
Ratnesh, depending on your php.ini configuration, you will see warnings. Refer to http://php.net for documentation on how to configure your php.ini file. Then you won’t see those warnings.
December 4th, 2009 at 9:38 pm
Aswin sir, actually i have an ftp account and i won’t access php.ini file directly. when i put the above mentioned URL into the browser’s address bar the below warrings came out and it shows ‘invalid login’, however my username and password for way2sms is absolutely correct.
ERROR
**********************************************
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/a1022821/public_html/vipin/sendsms/sendsms.php on line 36
invalid login
**********************************************
Kindly advice.
December 5th, 2009 at 4:06 pm
Hi aswin,
i am very very thankful to you for providing the idea to get into way2sms.com, i tried it and it was really amazing
script, thanks a lot,
i was searching for this script from last 2 weeks, and i got it.
regards, pritish
December 7th, 2009 at 4:18 pm
Dear Aswin Sir, i would really appreciate if you will help me to resolve the above mentioned problem.
Looking forward to hear from you. lots of thanks..
December 8th, 2009 at 10:35 am
great and wonderfull help u did, can u say how to invoke a function of php when in htmll button is clicked….
December 8th, 2009 at 4:16 pm
Ratnesh, that’s a problem with your web host. Please check with them.
December 8th, 2009 at 4:23 pm
Okay. I will check with my host. Thanks a lot.
December 9th, 2009 at 10:31 am
hi
great .. its working….
excellent web service information…..
thanks for valuable information
December 10th, 2009 at 12:04 am
Free Service Really sucks. Go for a paid one to get quality in sending sms. Aswin anand this is waste. Your brain thinks in a worst way
December 11th, 2009 at 12:00 am
Hi Aswin,
How i create free sms website with own sms server. How setup this site? any cost for SMS gateway (GPRS)…
December 11th, 2009 at 11:54 pm
Dear Aswin,
I’m using sms url service from past two months.
e.g.
http://www.aswinanand.com/sendsms.php?uid=9933445566&pwd=password&phone= 9812345678;9933445566&msg=Hello+World
It was working gr8. But now I have started getting “invalid login”. Can you please have a look into it… It seems way2sms protocol got changed?
Best regards
Brijesh
December 12th, 2009 at 3:04 am
hey its not working
December 12th, 2009 at 11:35 am
Hi Aswin sir,
Again your SMS service is not responding. I hope you must be doing some maintenace job on this service.
If not, kindly look into this and pl. do needful sir.
Thnanks in advance.
December 12th, 2009 at 2:25 pm
Dear Guys,
I would like to share the .net application(a desktop client for Way2sms.com). Its working fine.
If interested, pls contact me kuthuparakkal@gmail.com
-Rajeesh Kuthuparakkal
December 13th, 2009 at 4:12 pm
http://www.aswinanand.com/sendsms.php?uid=9933445566&pwd=password&phone= 9812345678;9933445566&msg=Hello+World
Not working
December 13th, 2009 at 4:14 pm
I tired it on my site http://www.manups.co.cc/sms/sendsms.php
December 14th, 2009 at 5:40 pm
Thanks its working. but i want to delete extra text from end of the message like way visit- way2sms.com.
i want to remove this text is it possible?
December 14th, 2009 at 8:56 pm
hi ur webservice is not working as of now
December 15th, 2009 at 11:08 am
http://www.aswinanand.com/sendsms.php?uid=XXXXXXXX&pwd=password&phone=XXXXXX&msg=Hello+World
Not working way2sms.com not support
December 16th, 2009 at 9:18 am
[...] December 4th, 2009 Free SMS Web Service Updated – 2Update: There seems to be some problem when the API is being accessed from my domain. Kindly try hosting the script in your own domains. [...]
December 16th, 2009 at 12:20 pm
Hi Aswin sir,
I am getting benefit by using your service “http://www.aswinanand.com/sendsms.php?uid=9933445566&pwd=password&phone= 9812345678;9933445566&msg=Hello+World” to send SMSes successfully. But suddenly it stopped working and giving error “Invalid login” from today afternoon. It seems way2sms might have modified their site. Would you please help me in this regard?
Thank you sir.
December 16th, 2009 at 12:37 pm
i have uploaded all the necessary files..but it prompt invalid login…can u help me….
December 16th, 2009 at 1:27 pm
hi, getting same problem from my domain also. kindly do something
December 16th, 2009 at 2:23 pm
I AM BCA STUDENT DEVELOPING MY WEBSITE FOR PROJECT.
I WANT TO SEND SMS THTOUGH MY SITE,CON U PROVIDE ME THE FULL CODE FOR ASP.NET 3.0.
December 16th, 2009 at 4:49 pm
Hi Aswin sir,
Your SMS service started working on Monday i.e.14-dec-09 but again started giving problem with a feed back “Invalid login”.
What to do in such cases. Can you please suggest any alternative way?
Thanks.
December 16th, 2009 at 8:55 pm
hello aswin sir,
Your SMS service was working before 5-6 days,now its giving me error that sendsms page not found it was working before few days. i want to send sms from my application so please help me. how can i use this service in c#.net windows application to send sms.
What to do in such cases. Can you please suggest any alternative way?
Thanks.
December 17th, 2009 at 1:09 am
Hi,
I have used this sample to send SMS by changing parameters. http://www.aswinanand.com/sendsms.php?uid=9933445566&pwd=password&phone= 9812345678;9933445566&msg=Hello+World
This was working fine upto 15th Dec 2009.but this is not working now. Can you please resolve this.this was very helpful, it is showing as invalid credentials.
December 17th, 2009 at 9:58 am
its not working now…is it reliable?
December 17th, 2009 at 4:35 pm
Hi
Your eeb service is not working.Can make it work…
Tahnk You
December 17th, 2009 at 9:45 pm
This is really waste waste waste jus buy some credits and use them to send sms with sender ID too. Jus go to smslane.comm. also they have HTTP API which helps to send sms from your site automatically. The credits starts from Rs.120 for 500 sms.
December 17th, 2009 at 10:24 pm
Aswin,
Can you please let us know the time frame to resolve this.
Thanks
December 18th, 2009 at 11:24 am
It can not be waste. No, not at all. The idea is very great. One can learn some thing from such stuff. I personally have adopted this URL in my intranet site and benifitted much. Paid services may give reliable service, but it is not great idea. The people like Mr. Aswin should be appreciated for their great and free services from which many people got benifitted as seen through above blogs.
Hats off to Aswin sir for his great work.
December 18th, 2009 at 10:59 pm
hi aswin sir…m an mca student..i hav used ur service for my project..it was working nicely..but frm two days its not working..please check..tomorrow is our exm sir..please help…kindly requesting u…thanking u…
December 19th, 2009 at 9:52 am
Hello Aswin,
Can make some change in the code that it detects that message is sent or not using status shown in sent sms tab in way2sms site?
becoz many times it happens that due to some changes in way2sms msg is not delivered and it shows done..
December 19th, 2009 at 1:22 pm
Hi Maulik Gandhi,
i made the script to return the status if is submitted successfully or faild.
plz find the file from the following url
http://downloads.samplephpcodes.com/sendsms.zip
visit http://.samplephpcodes.com for regular updates on this script
December 19th, 2009 at 1:41 pm
hello everybody i have fixed the lates bugs to the way2sms web service.
you can use the following link to post the sms
http://mobile.samplephpcodes.com/sendsms.php
or download the latest fix
http://downloads.samplephpcodes.com/sendsms.zip
i have included the sms sumitted status reply
December 19th, 2009 at 4:28 pm
I am unable to send method by both methods.Can u plz help me…….
December 21st, 2009 at 11:17 am
Hi Aswin,
It seems Jubin has fixed the issue in his app. Could you also please do the same and release the new code to host in our site.
Thanks,
Vishnu
December 21st, 2009 at 4:06 pm
kindly let us know when the service will come back…This was working fine upto 12th Dec 2009.but this is not working now. Can you please resolve this
December 21st, 2009 at 7:11 pm
Hi Deepu Raj,
Nice fix…. all works fine with the fixes..
it seems that wwwd.way2sms.com server is not working properly.. even i cant send sms from that site(d)..
you can try wwwk.way2sms its working fine…
just replace wwwd with wwwk… (or wwwc any many other)
but wat will happen if they add one extra hidden feild in that form ?
December 21st, 2009 at 7:24 pm
and one more thing
when message is sent
it gives      …
how to remove this i have searched in code but cant find..
i m not showing that response on webpage it is sent to IM..
so it cant show space in place of  ..
i m biginner with php so suggest me a method to remove this  ..
Thanx
December 22nd, 2009 at 12:43 pm
Hi Deepu,
i tried your url. its working fine.
kindly provide the WSDL related files in your server.
i just want to uset that wsdl url as webservice.
http://mobile.samplephpcodes.com/sendsms.php?uid=99xxxxxxx&pwd=3245&phone=99xxxxxxx&msg=HelloWorld
December 23rd, 2009 at 5:22 pm
i m awaiting for ur sms service for long time and pl let us to tell when will the service come back…it was working fine upto 12 th dec 09…now its throwing error ‘invalid login’ from last ten days…
December 24th, 2009 at 8:28 am
Hi Maulik Gandhi,
I have fixed your issue regarding the spaces in the responce,You can use this url http://mobile.samplephpcodes.com/sendsms.php
You can use this script for a long period i will make the appropricate changes when way2sms changes. Bcause i m also a regular user of this script
if u need any assistance mail me .
December 24th, 2009 at 9:16 pm
when i accessing from web portal, i am able to log in and send sms from web portal. but i can’t send sms using web services. please help.
December 25th, 2009 at 11:00 am
Sir, you service was working fine 1 month ago but now it throws error of In-Valid Login. I am usin your service from ASP.Net using your Webservice.Please resolve this issue.
December 27th, 2009 at 2:51 pm
Dear Ramkumar,
As per your request i have made the WSDL related files in my server. Now you can use the service. Find the followig url
http://mobile.samplephpcodes.com/sendsms.php
if u hav any problem you can post your queries..
December 30th, 2009 at 9:07 pm
its not working from last 2 weeks
invalid login
plzzzzzzzzzzz give a solution
December 30th, 2009 at 10:29 pm
Hi Deepu Raj,
plz give me that source sendsms.php(no   ) because i cant redirect my usage to ur page becoz of javascript alert and font which is not supported
nd I can find ur email-Id here or on ur website…
Thanx for ur kind support….
And
Happy New Year to All in Advance……
December 31st, 2009 at 11:26 am
Hello
♥♪♫♪ H@pPy nEw YeAr ♪♫♪♥ to All
I found another change sin way2sms site in the login page and some of their servers started to block the ip.
i have make the lates fix and u can access it from the following url
for further asistence mail:- info@samplephpcodes.com
use the url to post ur sms
http://mobile.samplephpcodes.com/sendsms.php
or download the latest fixed code
http://downloads.samplephpcodes.com/sendsms.zip
visit http://wwww.samplephpcodes for more script
January 1st, 2010 at 10:47 am
Currently this code saying as invalid login. Any changes in way2sms API. Please tell me. Thanks in advance.
January 1st, 2010 at 11:17 am
and this service taking too much time now page takes even 1 min or more to send message(on any server your or mine )…
This happens from last 2 days….
There may be some changes in way2sms.but cannot track the problem…
plz fix it as soon as possible…
January 1st, 2010 at 2:31 pm
Hello
♥♪♫♪ H@pPy nEw YeAr ♪♫♪♥ to All
I found another change sin way2sms site in the login page and some of their servers started to block the ip.
i have make the lates fix and u can access it from the following url
for further asistence mail:- info@samplephpcodes.com
use the url to post ur sms
http://mobile.samplephpcodes.com/sendsms.php
or download the latest fixed code
http://downloads.samplephpcodes.com/sendsms.zip
January 3rd, 2010 at 11:13 am
Hi,
I am facing issue,
1. IT is taking too long to execute SMS code.
2. It is not showing in Sent Item on way2sms site.
3. Its not reaching to the people, to which i am sending.
Please help me out with this.
Thanks
January 4th, 2010 at 2:43 pm
Dear Maulik Gandh,
plz find the souce code you wanted.
http://downloads.samplephpcodes.com/sendsms.zip
January 4th, 2010 at 6:06 pm
Hi Deepu Raj,
Thanks for your service. It is working fine. Good work. Keep helping us.
January 5th, 2010 at 10:38 am
Respected Sir,
I am a software engineer and working on asp.net with C#. But i have one problem to sending sms through C# window application. If this sms webservice is working in window application or not.Please reply
Thank you,
January 6th, 2010 at 12:30 am
Hi
Pls get Desktop Client for Way2SMS.com @
http://sites.google.com/site/kuthuparakkalcom/c-applications
Thanks,
Rajeesh
January 6th, 2010 at 12:30 am
Hi
Pls get Desktop Client for Way2SMS.com @
sites.google.com/site/kuthuparakkalcom/c-applications
Thanks,
Rajeesh
January 6th, 2010 at 9:43 pm
your Web service Dosent Works Now! Pls Check it!
January 8th, 2010 at 1:53 pm
Your Web Services are not working Please Check it.
January 11th, 2010 at 5:59 pm
You have given the required files list as like this. But the download link contains only sendsms.php. Is that php file alone enough to send sms?
* sms/
o sendsms.php
o htmlparser.inc (optional)
o nusoap/
+ class.nusoap_base.php
+ class.soap_transport_http.php
+ class.wsdlcache.php
+ class.soap_fault.php
+ class.soap_val.php
+ class.xmlschema.php
+ class.soap_parser.php
+ class.soapclient.php
+ class.soap_server.php
+ class.wsdl.php
+ nusoapmime.php
+ nusoap.php
I am getting error as
Call to undefined function curl_init()
Call to undefined function curl_setopt()
Help me to correct my problem
January 11th, 2010 at 6:14 pm
sorry. i found that nusoap. But still i am getting the foollowing errors
Fatal error: Call to undefined function curl_init()
Fatal error: Call to undefined function curl_setopt()
I checked the php source code. but curl_init() and curl_setopt() functions are not there.
January 11th, 2010 at 6:20 pm
Invalid login
Mail
January 11th, 2010 at 6:21 pm
It gives error Invalid login
Not work properly
please check it
n give fast Reply
January 11th, 2010 at 6:43 pm
Hi. Once again sorry. That error was due to the host domain. Now i changed my domain. Now its not showing any error. Its shows “DONE” but i didnt receive any sms. I also checked the sent items in way2sms.com. There was no sent sms.
(But i checked by giving wrong password. it shown me invalid login.) So i think the login is working. Sending sms code is not working. Help to to send successful sms.
January 12th, 2010 at 2:55 pm
Hi Aswin,
We are using your sms jar into our application. It has been worked past few months. but few days not working getting Connection timed out in the given URL http://wwwd.way2sms.com/auth.cl.
please let me know what the problem is.
Thanks in advance.
by
Senthil.
January 12th, 2010 at 3:46 pm
Dear Aswin,
I’m using sms web services in my ASP.NET Application service from past two months.It was working fine. But now I have started getting “invalid login”. Can you please have a look into it… It seems way2sms protocol got changed?
So if you have some idea or source code can you kindlly send to resolve thik problem…
Best Regards
Santosh Sahu
January 13th, 2010 at 3:36 pm
Please help me in sending the sms from ur cde..
I am getting unknown host exception at the line
pw = new PrintWriter(new OutputStreamWriter(uc.getOutputStream()), true);
Need urgent help..
tnks in advance
January 14th, 2010 at 2:24 pm
hi,
i did as u told, the result is shows done. but the sms is not reached the destination. what can i do? i have way2sms login id and password. i sent an sms to my friend no. the result says done. but the sms is not reached the destination correctly. what can i do? please give me ur support.
with regards
Natarajan.G
January 15th, 2010 at 10:09 am
I think the code is not supporting the SMS Gateway on way2sms.com.
Pl suggest any other way.
January 16th, 2010 at 9:59 am
Hi..
I too face the same issue.
Any fix ?
Any other alternate ways.
January 16th, 2010 at 12:10 pm
my script is not now working whats problem ?can u reply me at my email ID?
January 18th, 2010 at 3:41 pm
I tried using the code.i reistered in way2sms too but still saying invalid login while using the same username and password
January 19th, 2010 at 3:21 pm
Hi ashwin,
I tried to use your webservice as shown in method one after creating an account in way2sms.but even after giving the correct credentials it says invalid login.What could be the problem.
January 20th, 2010 at 3:53 pm
Hello Users,
Plz use the following script will resolve the problem
http://mobile.samplephpcodes.com/sendsms.php
or download the latest fixed code
http://downloads.samplephpcodes.com/sendsms.zip
January 21st, 2010 at 11:39 am
hi.. SMS service isnt working.. kindly look into it.. thanks for ur efforts…
January 21st, 2010 at 12:28 pm
Hi Aswin,
We got invlalid login for past few days. It can be solved or not. Please resolve our queries. Atlest send what the problem in API or Webservice?.
January 21st, 2010 at 1:16 pm
Senthil, an announcement is coming soon
January 21st, 2010 at 8:26 pm
hi brother,
i am trying your web service to send sms it not working fine i tried with the URL given by u and replaced my way2sms id and tried but its returning error message as invalid login
Please help me on this
With regards,
Anand.
January 22nd, 2010 at 11:15 pm
Sir,
I solved that error.. Now i m getting the following error.. can u help me..
SEVERE: Servlet.service() for servlet jsp threw exception
java.io.IOException: Server returned HTTP response code: 500 for URL: http://wwwd.way2sms.com/auth.cl
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at org.apache.jsp.sendsms_jsp._jspService(sendsms_jsp.java:145)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source)
January 23rd, 2010 at 8:10 pm
Hi Aswin,
pls resolve this issue quickly as i am facing same problem after giving correct user id and pwd it is saying “invalid login”.
Though “http://mobile.samplephpcodes.com/sendsms.php” url giving by Deepu Raj is sending sms,but throwing a error like “Client found response content type of ‘text/html’, but expected ‘text/xml’”.
Pls solve.
January 25th, 2010 at 7:50 am
Hi,
I tried to use the url with my username and password..But its always says invalid login..Can you help me out.
January 26th, 2010 at 2:41 pm
Great!..
Nice work
January 29th, 2010 at 6:23 pm
I was able to send the sms and recieve it as well by hosting it in my domain.
January 31st, 2010 at 2:44 pm
I tried to use the code with my username and password..But its always says invalid login.
I have also tried by hosting it in my domain but still problem remains same.
Can you help me .
February 1st, 2010 at 11:55 am
Hi buddy,
i tried using provided url to send sms but not worked for me. i dont know what would be the problem. could you help me out on this.
February 1st, 2010 at 12:27 pm
I can able to send sms using this url http://mobile.samplephpcodes.com/sendsms.php. the link provided by aswin throwing error as invalid login. hi buddy please solve the issue
thanks in advance
February 2nd, 2010 at 9:15 am
hello Karthick ,
U can Send sms using this url
http://mobile.samplephpcodes.com/sendsms.php
its working fine all the time.
I have also made the WSDL for accessing it from various platforms.
Thanks for your query.
February 2nd, 2010 at 9:37 am
Hello Dibakar,
I have setuped the WSDL Library in my domain so that u can access the url from any platform.
plz verify if it is wroking now.
Plz post the details if any issues…
Thanks.
February 4th, 2010 at 12:34 pm
i have download the ‘nusoap’ and installed in my web server . it worked but no sms was sent after displaying the done msg
February 4th, 2010 at 12:35 pm
could any help / tell what should i do now
February 7th, 2010 at 4:26 pm
Hi dude,
Its really great job, yaar i tried this some days before its fine. but now its not working please check and let me know. please cc to mail mailid also.
I dot ‘done’ message but message was not getting to the receiver.
please check & let me know how to solve the issue.
February 9th, 2010 at 5:39 pm
i have mentioned that this url http://mobile.samplephpcodes.com/sendsms.php is working for sms. it is occassionaly working. not delivering the sms. What could be the cause. i have used this url in my AppCode .cs file.
February 11th, 2010 at 10:48 am
hi aswin….
i use ur url but its not working it return invalid login….but the thing is i fill corect uid and password….
February 13th, 2010 at 8:51 am
hi
this is with way2sms only
can u make the same script for some more sites like 160by2.com etc
February 15th, 2010 at 9:11 am
This script is showing invalid login. i have used saveral logins and before this. it was wrking very fine.
Can you give me solution
February 16th, 2010 at 12:47 pm
i m getting successfully login with my userid and password but when i use “http://www.aswinanand.com/sendsms.php?uid=way2smsuid&pwd=way2smspwd&phone=9820525216&msg=Hello+World” it shows invalid login
please give me solution
February 17th, 2010 at 11:57 am
i m getting error message “invalid login” using my way2sms login and password, but it is working in way2sms.com
February 18th, 2010 at 1:49 pm
hello guys,
can u help me… I am using php…
but in sendsms.php it shows
Fatal error: Call to undefined function curl_init() in C:\xampp\htdocs\test\sendsms\sendsms.php on line 24
Please suggest me why this error is coming…
could u please send me too all the details in my e-mail:
akhil017@gmail.com
February 18th, 2010 at 2:31 pm
Yar i have used this in my website:http://www.gurufurniture.co.uk/sendsms/sendsms.php
But i have not got any message…while done written is coming on the page…
February 19th, 2010 at 10:49 am
Hi I am trying your code which is in blog but not succeed any reason for that? I m trying sending msg using direct url and get invalid login and i have way2sms login.
February 20th, 2010 at 11:20 am
showing invalid login
February 21st, 2010 at 6:59 pm
Hi SMS sending is ot working from http://mobile.samplephpcodes.com
Please address this..
February 22nd, 2010 at 7:28 am
Hi Deepu raj,
Thanks for providing great sms service. I have been using your url http://mobile.samplephpcodes.com/sendsms.php?uid=…&pwd=…&phone=…&msg=…
But to-day onwards it is giving message “invalid login” though it is working directly in way2sms site.
Please resolve this.
Thanks in advance.
February 23rd, 2010 at 4:55 pm
Hello Deepu Raj,
I am using ur http://mobile.samplephpcodes.com/sendsms.php for sending SMS for my addons and chat bots. but its not working from last “2 days”..
hope u will fix it as soon as possible
you can see my google chrome extension https://chrome.google.com/extensions/detail/kkajdolllabkkdfolgjamkocmoijegja for sending sms.
Thank you,
February 24th, 2010 at 9:12 am
I have been using your url http://mobile.samplephpcodes.com/sendsms.php
but from the last 5 days it is not delivering sms.
please solve it…
thanks…
February 25th, 2010 at 5:21 am
Hi Ashwin sir,
I have been using your url http://www.aswinanand.com/sendsms.php?uid=…&pwd=…&phone=…&msg=…
AND
http://mobile.samplephpcodes.com/sendsms.php?uid=…&pwd=…&phone=…&msg=… also.
But for the last 3 days, both the URLs have been giving message “invalid login” though it is working directly in way2sms site.
It would be great help if you solve this problem.
Thanks in advance.
February 26th, 2010 at 6:36 am
same message (“invalid login” ) here..
Please resolve this..
February 26th, 2010 at 11:14 am
hi…. the code doesnt works in my system’s php server too… it neither shows error nor sends msg.. kindly update soon…
February 28th, 2010 at 10:54 am
hi im mustafa
I have been using http://www.aswinanand.com/sendsms.php
as a web reff in my c# app but m not getting msg 2 my moblie i have writen this code
com.aswinanand.www.SendSMS s = new smb.com.aswinanand.www.SendSMS();
s.sendSMSToMany(“9889526588″,”xyz”,textBox1.text, textBox2.Text);
MessageBox.Show(“msg sent”);
plzzzzzz help me out
February 28th, 2010 at 12:01 pm
Is anyone trying to resolve this issue??
March 1st, 2010 at 7:27 am
Not working in ASP.NET
i am using this code:
Dim a As New com.aswinanand.www.SendSMS
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
a.sendSMSToMany(“Put my user ID”, “Password here”, “put here Number to send to”, ” hello this is message”)
End Sub
No errors are coming but the message is not sended
March 1st, 2010 at 7:48 am
Every thing is fine, no errors are coming during compilation no warning. but message is not sending!!!!!!!!
March 1st, 2010 at 1:36 pm
Can I use this for providing service to my clients?
March 1st, 2010 at 3:16 pm
still the both urls have been giving message “invalid login” though it is working directly in way2sms site..
pls check it
March 3rd, 2010 at 12:27 pm
hey i guess everyone getting the same error as invalid user. i can login to way2sms.com & able to send sms.when i used this web service it showing me invalid user. i used that both web services…
its quite frustating.. plz help
March 3rd, 2010 at 3:17 pm
Hey, i have used your webservice in my project related to sending sms in asp.net.
it works properly till today but when i tried today it provides message “invalid login”.
If you have any solution for this then please reply or please remove the problem from the webservice and is there any other way to use your phpcode directly in my asp.net project.
please reply because I am studying in M.C.A and i have to submit this project in April so please reply………..
March 3rd, 2010 at 3:20 pm
please man resolve the problem of http://mobile.samplephpcodes.com/sendsms.php
webservice as soon as possible.
March 3rd, 2010 at 3:30 pm
hey man please help!!!!!!!!!!!!!!!!!!!!!
March 4th, 2010 at 6:20 pm
Hey.. I am entering the correct id and password and I am getting “invalid login” error…
March 4th, 2010 at 7:35 pm
hi everyone,
i’m using the visual studio 2008. i’m using ur sms webservice. but it is now not working. it is throwing the exception like the operation is aborted. sms is being not sent..
March 6th, 2010 at 12:30 pm
http://www.aswinanand.com/sendsms.php?uid=…&pwd=…&phone=…&msg=…
cant able to access using this link,,plz help me
March 9th, 2010 at 2:03 pm
Hello users,
sorry for the long delay for the resolution of the problem..
I have corrected the problem with the url and now its working fine..
http://mobile.samplephpcodes.com/sendsms.php
please check and update me if any problem…
Regards,
Deepu Raj
March 9th, 2010 at 7:06 pm
hey man its working.
did you solve the problem?
its grate.
and thanks.
March 10th, 2010 at 10:07 am
Hello Swapnil Jokhakar,
Yes i have resolved the problem……
sorry for the long delay…….
Regards,
Deepu Raj
March 11th, 2010 at 3:34 pm
Is you webservise still working ?
I am getting Invalid login error…
please let me know where I am doing wrong. and I have use same username and password as I have in way2sms
March 12th, 2010 at 6:36 am
Hello Deepu sir,
Your URL http://mobile.samplephpcodes.com/sendsms.php?uid=…&pwd=…&phone=…&msg=… is working now. You maight have set it right.
Thank you very….much for this support.
Keep helping in future.
March 16th, 2010 at 8:58 am
Dear Aswinanand,
I am new to to this website of yours, I was amazed to know that anyone can send free sms from your website using methods stated above, I am still studying and learning each and every thing on your website and want to implement some of the things on my website.
Please let me know how can I send mp3 ringtones using this sms service to my own mobile or others mobile whom i know so that it can be saved and used.
March 16th, 2010 at 11:55 am
hi,
I try to put your code as per instructions, But it shows “invalid login”, I don’t know what to do, can you help me.
Thanks in Advance.
March 19th, 2010 at 6:09 am
Hi,
I was using the method 1(webservice) and it was working fine. but for the past few days it says invalid login, but i able to login at way2sms by using same username and password. kindly help me to slove this issue..
Thanks
Prakash
March 20th, 2010 at 5:56 pm
hiiiiiiii the wsdl service is not working with my application.. what to do… some one help me …. thanks in advance
March 28th, 2010 at 3:42 pm
Hello.
Working Link:
http://haryanaithub.com/sendsms.php?uid=userid&pwd=pwd&phone=phone&msg=message
March 29th, 2010 at 1:51 pm
can u please update the php, my application will not go any further unless you help out..
thx
March 30th, 2010 at 5:30 am
Hi Ashwin,
I tried to send SMS using my way2sms login id and password, but I am getting message that “invalid login”. I am not getting reason why I am getting this message, even if my login is valid on way2sms site.
I am using web service which you have provided:
http://www.aswinanand.com/sendsms.php
Thanks,
Satish
April 1st, 2010 at 10:34 am
Dear Mr. Tanik,
Thank you for providing the following working link.
http://haryanaithub.com/sendsms.php?uid=userid&pwd=pwd&phone=phone&msg=message
Thanks once again.
B.A.Reddy
April 2nd, 2010 at 6:29 pm
Hi Ashwin,
I tried to send SMS using my way2sms login id and password, but currently I am getting message that “invalid login”. I am not getting reason why I am getting this message, even if my login is valid on way2sms site.previously same login id and password works perfecly
April 4th, 2010 at 4:10 pm
Hi Ashwin,
m also getting the same error as Invalid login while using ur URL.
please reply.
m w8ing..
April 4th, 2010 at 5:00 pm
hi Mr. Tanik plz tell how to do login on by my own site,
i have copy the code give on this site but it is not working.
April 5th, 2010 at 5:01 am
Hi Ashwin,
m getting the same error as Invalid Login while using ur mentioned URL in my application.
please reply..
m w8ing
April 8th, 2010 at 10:23 am
awesome tanik….
thanku very much
April 13th, 2010 at 12:58 pm
Hi if anyone having .net code plz put it here i m unable to use this sms service from my .net application.
Thanx…
April 14th, 2010 at 12:45 pm
Y are you changing sms api link regularly?
April 15th, 2010 at 1:47 pm
HI Ashiwin,
I started with using the url you provided to send sms it was working fine. Now i gives me invalid login even when the login is correct. I checked with my other friends same problem. Can you check in the issue?
April 19th, 2010 at 11:23 am
Hii Ashwin,
I wanna know any webservices which are eable to send International sms, I need it as most of the users are not from india.
Please Kindly help me………….
April 19th, 2010 at 5:20 pm
Hii Ashwin,
The Sms code is not working…….
Even the URL :
http://www.aswinanand.com/sendsms.php?uid=9933445566&pwd=password&phone=812345678;9933445566&msg=Hello+World
not working
Error :
invalid login
And when I login in Way2sms with the same username and password . I am able to login
April 19th, 2010 at 11:15 pm
Hii Ashwin I m not able 2 Use Ur Way2sms ka Webservice the Mess r not being Send I hav Tried Everything Is The Web Service Still Active ??
April 20th, 2010 at 12:33 pm
I tried First Method but not Working..
It show invalid login..
But i have pass correct…
Plz Solve it
April 21st, 2010 at 11:52 am
Dear Aswinanand,
Please let me know how can I send mp3 ringtones along with small text msgs using this sms service to my own mobile or others mobile.
April 21st, 2010 at 12:40 pm
Hello Ashwin,
I wanted to know the latest webservice that can be used to send free sms in asp.net c# application
please reply soon i have to demonstrate it within a week
April 21st, 2010 at 6:36 pm
Is there any way to use this script from Bangladesh. What I have to do. thanks in advance
April 25th, 2010 at 12:46 pm
Hello
I have hosted and made some modification in script.
You can use following script to send sms.
working link:-
http://haryanaithub.com/sendsms.php?uid=userid&pwd=pwd&phone=phone&msg=message
April 25th, 2010 at 7:30 pm
HI alpesh
I started with using the url you provided to send sms it was working fine. Now i gives me invalid login even when the login is correct. I checked with my other friends same problem. Can you check in the issue?
login and password correct but not login and sms send pls solve problem
April 29th, 2010 at 2:29 pm
thanks
its working….
May 3rd, 2010 at 4:43 pm
Hi Tanik,
I would like to host the modified script on my own domain.
Could you please allow it for download?
CoolbigB
May 3rd, 2010 at 9:00 pm
Invalid login…….
Even if login info is right…………??????
PLEASE HELP…………..
May 4th, 2010 at 1:01 pm
Hi Tanik,
I am using ur domain to send sms……
I want to send them through my own domain……
PLEASE HELP…
send me the modification in the script OR the source file to my email sexyneeta.singh1@gmail.com
Thanks in advance
Waitin for ur reply….:))
May 4th, 2010 at 4:44 pm
ERROR: Invalid Login.
Please resolve this issue.
May 5th, 2010 at 5:18 pm
hi aswin,
i am unable to send sms using php code provided could u kindly let me know if its still working!
Regards
Lawrence
May 8th, 2010 at 5:04 pm
Abhinandan u can use following link:-
http://haryanaithub.com/sendsms.php?uid=userid&pwd=pwd&phone=phone&msg=message
my e-mail id: tanik_kukreja@rediffmail.com
May 10th, 2010 at 4:21 pm
is this webservice is not supporting now
saying server is not available
May 18th, 2010 at 10:10 am
dear sir your api is not working give the following msg ……..Invalid login
May 20th, 2010 at 11:30 am
hi ashwin
i’m using your web service in my asp.net application but its not working and give the following msg… “invalid login”. i’m using http://www.aswinanand.com/sendsms.php?wsdl. plz help me buddy.
May 23rd, 2010 at 1:47 pm
now its working or not
May 24th, 2010 at 1:54 am
Hi,
Any one has VB6 code to send SMS via Way2SMS account ?
It must be a stand alone code without using php files on some other server. There are some C# code available on the net. But I need VB6 code.
June 1st, 2010 at 11:41 pm
Send Unlimited full 160 characher sms from ur fullonsms.com id.
Create id on http://www.fullonsms.com and use following api to send sms.
http://haryanaithub.com/sendfullonsms.php?uid=fullonsmsuserid&pwd=password&phone=receiver mobile no&msg=message
tanik
tanik_kukreja@rediffmail.com
June 2nd, 2010 at 4:15 pm
hi
I am using ur URL for sending message but its give me “Invalid Login” can u please tell me what to do ??
Thanks in advance.
June 2nd, 2010 at 6:11 pm
Hi Tanik,
Can you please provide the WSDL which can be used for the service http://haryanaithub.com/sendfullonsms.php.
Thanking you in advance,
Hari
June 2nd, 2010 at 11:36 pm
hiiii tanik
can u send me full source code on webfire666@gmail.com
plzzzz thnks
June 8th, 2010 at 7:17 pm
doesnt work anymore
June 11th, 2010 at 9:35 pm
can you give j2me code 4 it plzzz thanx
June 14th, 2010 at 5:25 pm
Hello Everyone
i have 10 mobile no. in my database & by using $rows['mobile']; the no. is retrived
but i want to give this no. to single string like
$phone = $rows['mobile'];
it take only one mobile no. not all .
So any one know how to give all mobile no. to $phone ?
i want all the no. in single string for sending sms to all 10 no. at a time.
June 15th, 2010 at 1:32 am
Hi Sandeep
mail me for solution @ tanik_kukreja@rediffmail.com.
I will send u PHP code.
tanik kukreja
June 15th, 2010 at 8:38 pm
Hi aswinanand, extremely thank you for the script. made my day. however, way2sms has changed a few things since you wrote the script. i have made those changes, and i am giving this file for download. its just a modified version of your file. you can download it from here.
http://ubaid.tk/sendsms.zip
A big thank you, once again.
Note : This is the working script, download it and use it on your servers. the usage of this file is exactly as mentioned above by aswinanand.
June 18th, 2010 at 10:51 pm
Hi Aswin,
Thanks for this script. Its really amazing.
While i am trying this, its give me an erro as mention below:
done invalid number;
i am using the URL like below mentioned:
http://www.domainname.in/sms/sendsms.php?uid=USERID&pwd=PWD&phone=PHONE&msg=MSG
i am not understanding that why this error comes. Please help to resolve this. I will be so kind of you.
Thanks
June 19th, 2010 at 1:03 pm
Hi ubed
Great Work!
But ur scrip does not work on numbers. i.e numbers registered from haryana.i think u have tested it only on your number try testing from any other number of other state.
does not work.
Working Link:
http://haryanaithub.com/sendsms.php?uid=userid&pwd=pwd&phone=phone&msg=message
June 19th, 2010 at 1:04 pm
Hi ubed
Great Work!
But ur scrip does not work on all numbers. i.e numbers registered from haryana. may be any other state. if u have tested it only on your number try testing from any other number of other state.
does not work.
Working Link:
http://haryanaithub.com/sendsms.php?uid=userid&pwd=pwd&phone=phone&msg=message
June 21st, 2010 at 3:20 pm
Hello
I found another change sin way2sms site in the login page and some of their servers started to block the ip.
i have make the lates fix and u can access it from the following url
for further asistence mail:- info@samplephpcodes.com
use the url to post ur sms
http://mobile.samplephpcodes.com/sendsms.php
or download the latest fixed code
http://downloads.samplephpcodes.com/sendsms.zip
June 21st, 2010 at 5:58 pm
Hello Users
This is the fullonsms WSDL
http://mobile.samplephpcodes.com/sendfullonsms.php
u can use it anytime.
http://mobile.samplephpcodes.com/sendfullonsms.php?uid=userid&pwd=pwd&phone=phone&msg=message
June 30th, 2010 at 8:27 pm
Hi Aswin,
I tried to send the sms using the links and also using the php file but both failed. What could be the reason.
July 25th, 2010 at 6:30 pm
Hi Aswin Sir,
Thanks for this script. Its really amazing.
While i am trying this, its give me an error as mention below:
done invalid number;
i am using the URL like below mentioned:
http://www.domainname.in/sms/sendsms.php?uid=USERID&pwd=PWD&phone=PHONE&msg=MSG
i am not geting that why this error comes. Please help to resolve this. I will be so kind of you.
Thanks
July 27th, 2010 at 7:13 pm
How to save an incoming SMS in a SharePoint 2010 list and then process on that SMS and auto reply back with the matched content back to the sender ? Does anybody have any idea about this ?
Basically I want to develop a SMS based online dictionary .
User will send a SMS containing an unknown word ( for e.g. Spanish word ) to the short code provided by Website and then Short code provider will forward that SMS to OMS ( OutLook’s/SharePoint’s inbuilt feature = Office Mobile Service , with which you can send SMS/ e-mail alerts) Provider .
OMS service provider will forward that SMS to dont know to whom , I am totally unaware about this thing .. But from whatever destination that SMS may reach , it should be saved into SharePoint List . SharePoint List will contain a Wordlist and meanings of those words … then Search should take place where meaning of that word should be matched and then a new SMS should be generated and it should be sent back to Sender Number via the same path through which it was received.
Does anybody have any idea about my requirement and how should I approach to the solution of this particular project . My team Leader wants a POC of this project and not a complete project .. just for showing something to the customer ..
I have been searching for this thing since last 10 days or so and so far I have found no viable solution for this . I am a new SharePoint developer ( totally beginner ) and I have no what so ever idea about this thing . If it was in ASP.NET then I would have used web services and APIs given by various site and would have developed this solution .. BUT SharePoint seems to be an alien thing to me ..
I AM SO HELPLESS and I NEED and urgent HELP .. Has anyone developed simmilar solution in the past …
July 28th, 2010 at 3:12 pm
Hi Aswin,
i want to delete ‘sent via way2sms’ in body of the sms, is it possible?
July 28th, 2010 at 9:00 pm
Hi,
avinash
If u r intrested in SMS based autoreply online dictionary.
i have developed many auto reply applications.
if ur requirement is autoreply through free sms gateway.i can help u.
my mail id is: tanik_kukreja@rediffmail.com
tanik
August 5th, 2010 at 5:24 pm
I am trying to use the code. I followed the instructions given above but i am facing problem.
Its giving the message “invalid login”
Please help me
August 6th, 2010 at 6:13 pm
http://www.smstau.com give you free sms services. you can send free sms or free sms online to any mobile in india.
August 7th, 2010 at 12:54 pm
Hi avinash
if you want to provide information whatever sender send it to you then i have one application.
i have created one application for trace indian mobile no.
just type TRACE & send it to 56767888.
I think you want something like this.
my mail id is sandeep_cooll@yahoo.in
- Sandeep
August 8th, 2010 at 4:07 pm
hi Aswin,
i run the sendsms.php file but it shows the
“invalid_request Usage: Refer to http://www.aswinanand.com/blog/2008/07/send-free-sms-web-service/ for more informaiton. ”
this error i put the my way2sms uid and password but it not display it shows error could you please help me.
and in in the nusoap download folder there no php files all are html files how could i get my own website name insted of ur site name.
please help me
thanks and regards
ramakrishna
August 10th, 2010 at 10:13 am
Hi avinash
if you want to provide information whatever sender send it to you then i have one application.
i have created one application for trace indian mobile no. just type TRACE & send it to 56767888.
For e.g TRACE 9421XXXX00 & send it to 56767888
I think you want something like this.
my mail id is sandeep_cooll@yahoo.in
- Sandeep
August 11th, 2010 at 2:13 am
Hi guys,
I came across this site after writing a similar post on my blog. My PHP script works on both 160by2.com and way2sms.com.
You should give it a try at http://www.kiransuniverse.com/blog/2010/08/03/php-script-to-send-free-sms-using-your-160by2-account/
August 13th, 2010 at 9:01 am
Hi,
I am trying to use the webservice url http://www.aswinanand.com/sendsms.php?wsdl to send an SMS. I am getting the error “Invalid Login” even if i give the correct login credentials. kindly give a solution for this
August 17th, 2010 at 11:51 am
Hi Tanik,
I have been using your service http://haryanaithub.com/sendsms.php?uid=……&pwd=….&phone=….&msg=…… and it was working fine till 12th Aug,10. But now it is giving message “invalid login”.
Could you please suggest me some solution?
Thanks in advance.
August 17th, 2010 at 3:25 pm
Hi i have given correct information but its not working its always displaying invalid login details. This code is working shall i use this code. how many months i can able to use this code. can you able to send me the details to my email. Actually code was working before but recently only not working Can you please check these things.
Thank you
Mithra
August 19th, 2010 at 11:18 am
yah haryanapubit not working nowadays.. invalid login message comes.
August 28th, 2010 at 11:09 am
Hello Ashwin,
When i’m invoking the URl below:
http://www.aswinanand.com/sendsms.php?uid=9886954011&pwd=8349&phone=9886954011&msg=Hello+World
It’s giving me an error message “Invalid Login…could you please check this as i’ve a demo for which i’m using this…….
Jomy
August 30th, 2010 at 9:59 am
Hi, Dear Ashwin Anand,
Error Message : Invalid Login
URL:
http://www.aswinanand.com/sendsms.php?uid=9898587449&pwd=mypass&phone= 9898019686&msg=Hello+World
Please if can replt me. It is urgent.
Thank You Very Much In Advance.
August 30th, 2010 at 5:23 pm
Plz give me the way so I can send free sms using way2sms
. our country code is +880 such as a mobile number is 01722******
September 2nd, 2010 at 8:12 am
Hey if you are a developer or user, you have my solution::
Client and DLL also published here::
https://sites.google.com/site/kuthuparakkalcom/downloads
September 4th, 2010 at 4:18 pm
Dear Aswinanand,
No websites (aswinanand.com, haryanaithub are working nowdays showing invalid login, so please suggest a new or we have to wait. Please also suggest some permenant method of automatic sms to members with a small fees.
regards
Sandy
September 4th, 2010 at 9:35 pm
I got Invalid login output when I use (with correct userid,password of way2sms)your webservice url.Please replyHow can I overcome this problem.
September 6th, 2010 at 1:25 pm
Hi,
This webservice just does now work. I added reference in my asp.net web application and trying to send the message.
It always saya invalid LOGIN, EVEN THOUGH I can login through the same credentials into way2sms site.
I get this invalid login message in returned string after calling the Sendsms2Many method. any idea?
September 6th, 2010 at 4:12 pm
i got the webservice but i got the result as invalid login.
i am using .net 2008 for developing
Please give me the soluion for this.
thank you
September 18th, 2010 at 7:21 am
Sir same problem invalid login plzzz nybody help….
September 22nd, 2010 at 12:40 pm
This post looks very old and all the setting of the web are change so
this link is not working
But you can try this it is working
https://sites.google.com/site/kuthuparakkalcom/downloads
October 19th, 2010 at 12:45 pm
Man all those code given above where not working,
try out the link suggested by Mihir
https://sites.google.com/site/kuthuparakkalcom/downloads
IT WORKS WELL AND GOOD, I’VE TRIED IT…….
December 6th, 2010 at 12:39 pm
https://sites.google.com/site/kuthuparakkalcom/downloads
Above link was cool
you can send sms from your desktop
but
i want to send sms through php code
December 14th, 2010 at 5:08 pm
Hi,
Thanks for your post.
Will this work with SharePoint 2010 outgoing SMS feature?
December 16th, 2010 at 10:31 am
Well I need a php file which works. Can anyone help me? i Tried all the above php files nothing efficient.
December 22nd, 2010 at 3:57 pm
Ashwin your script works fine for me on using.
http://www.aswinanand.com/sendsms.php?uid=9933445566&pwd=password&phone= 9812345678;9933445566&msg=Hello+World
But i like to implement this in my site. U had provided source for us but i need further documentation to use your source codes to implement it in my website.
January 8th, 2011 at 6:50 pm
Hi Mohan Ram, what help do you need? The whole post is about how to implement it in your website
January 11th, 2011 at 3:23 pm
You rock Aswin !!!
The dll downloaded from the above link is working fine for me …
Thanks a ton….
January 21st, 2011 at 10:21 pm
hi… i hav developed an api for use by everyone.. check it out at http://ubaid.tk/sms/
you can use the web page created by me, or u can use the api structure.. for example, your application can directly fwd the request to
http://ubaid.tk/sms/sms.aspx?uid=99999xxxxx&pwd=12345&msg=your sms text which u want 2 send&phone=9996669990&provider=way2sms
the differen providers are way2sms, fullonsms, smsinside and tezsms..
works 100%, all the time..
cheers..
January 27th, 2011 at 12:15 am
superb ubaidullah….its working fine…
February 1st, 2011 at 11:07 am
just use this site to send free sms to India (any mobile)
http://mixmasala.webfrnd.com/
here are 2 option
1) login required (fullonsms login work)
2) without login (500 char support)
February 2nd, 2011 at 11:14 am
fullonsms hack script
http://www.webfrnd.com/smsNew.php?uid=99999xxxxx&pwd=fullonsmspwd&phone=98xxxxxxxx;92xxxxxxxx;93xxxxxxxx&msg=How+r+u
note: msg space should be replace with + sign
February 3rd, 2011 at 4:35 pm
just use this site to send free sms to India (any mobile)
http://mixmasala.webfrnd.com/
here are 2 option
1) login required (fullonsms and way2sms login work)
2) without login (500 char support)
Direct API
Way2Sms :
http://www.webfrnd.com/smsNew.php?uid=WAY2SMSID&pwd=WAY2SMSPASSWORD&msg=your sms text which u want 2 send&phone=901761xxxx&provider=way2sms
FullonSms:
http://www.webfrnd.com/smsNew.php?uid=FULLONSMSID&pwd=FULLONSMSPASSWORD&msg=your sms text which u want 2 send&phone=901761xxxx&provider=fullonsms
The Best part is this split long messages automatically.
February 7th, 2011 at 6:50 pm
Hi Ashwin When i will use that service i got this error.
How to rectified this.,
some error in port. Please try after some time
February 9th, 2011 at 4:15 pm
Today WAY2SMS site has been chnaged.
so there code of SMS service have to be chnaged
February 10th, 2011 at 6:46 pm
still mixmasala.webfrnd.com is working with post method only
not get method.
February 12th, 2011 at 4:24 pm
Seems Way2SMS changed their code. Most of the old code not working. But few client apps are working.
Pls. update your code and let us know the changes.
Thanks a million !
February 12th, 2011 at 9:27 pm
sorry guys.
due to webfrnd.com expiry the webfrnd.com is not working still now. most probably this will start from monday again
till then
i am providing you other link for sending msg
http://smsapi.ueuo.com/
for the time being
February 16th, 2011 at 11:19 am
mixmasala.webfrnd.com is again working
March 2nd, 2011 at 10:00 pm
Hi AswinAnand,
Your website is great…the way u have provided source for sending sms is awesome….
I tried your php version of sending sms
1 ) http://www.aswinanand.com/sendsms.php…it says invalid ID
2) and also tried deploying sendsms.php in my server…it says “done” but i didn’t get any SMS…should i configure something in my server ?
Please let me know wat should be done
Thanks for your reply.
Thanks & Regards,
Snober
March 3rd, 2011 at 6:21 pm
hello sir
I AM BCA STUDENT DEVELOPING MY WEBSITE FOR PROJECT.
I WANT TO SEND SMS THTOUGH MY SITE,CON U PROVIDE ME THE FULL CODE FOR ASP.NET 3.0.
March 3rd, 2011 at 9:10 pm
First create a id on way2sms.com
just download the code
http://mixasala.webfrnd.com/m/sms.zip
extract the files and change your way2sms username and password in sendsms.asp and run sms.html
March 6th, 2011 at 11:13 pm
Hi Ankit Jain,
i tried to download script from the link which you provided above but, the file doesn’t downloaded, it shows error while downloading.
please reply me…
April 18th, 2011 at 7:42 pm
Hi aswin sir,
I’m doing MCA from mumbai and doing project on C# desktop application which require sending sms features to client and you guide me to implement this features using way2sms service.
So I’m kindly requesting you to help me to implement this features.Thanking you in advance.
May 16th, 2011 at 3:48 pm
great contribution
June 17th, 2011 at 5:50 pm
Awesome, great article. I know about only first method. No idea about wsdl. Very nice service.
Thanks for sharing blog.
Latha
July 16th, 2011 at 9:01 pm
[...] year before i updated the Ashwin anand’s php code for sending sms from php. later many of them reported that my code too is not work. So now [...]
August 27th, 2011 at 3:29 pm
This is Good Post .i followed this concept but didnt work please help me
October 28th, 2011 at 5:26 pm
just check
http://smsapi.webfrnd.com/qsms.php