Click here to Skip to main content
15,943,721 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I m using below code and developed an application to send sms to any mobile. But its not working. I have added error details below. Can somebody please help me with this?
C#
string yourmobilenumber = "9876543210";
string yourpassword = "password";
HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create("http://ubaid.tk/sms/sms.aspx?uid=" + yourmobilenumber + "&pwd=" + yourpassword + "&msg=" + textBox2.Text + "&phone=" + textBox1.Text + "&provider=way2sms");
HttpWebResponse myResp = (HttpWebResponse)myReq.GetResponse();
System.IO.StreamReader respStreamReader = new System.IO.StreamReader(myResp.GetResponseStream());
string responseString = respStreamReader.ReadToEnd();
respStreamReader.Close();
myResp.Close();
MessageBox.Show("Message send successfully");   

and error is
The remote server returned an error: (503) Server Unavailable.


[edit]indexation reduced[/edit]
Posted
Updated 18-Feb-14 1:02am
v4
Comments
OriginalGriff 18-Feb-14 6:13am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Perhaps if you tell us what it does that your didn;t expect, or not do that you did, it might help?
Use the "Improve question" widget to edit your question and provide better information.
thatraja 18-Feb-14 6:15am    
Spammers gonna grab your mobile number for n number of advertisements

1 solution

The error means the site you are trying to access is unavailable at the moment.
To confirm I opened the site and was sent to maintenance page. You may also check a website's availability here - http://isup.me/http://ubaid.tk/sms/sms.aspx[^]

You may like to contact the site administrator.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900