应用程序发送短信不工作(短信网关 - http://ubaid.tk/) [英] Application to send SMS not working (sms gateway - http://ubaid.tk/)
本文介绍了应用程序发送短信不工作(短信网关 - http://ubaid.tk/)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用下面的代码并开发了一个应用程序来向任何移动设备发送短信。但它不起作用。我在下面添加了错误详情。有人可以帮我吗?
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?
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]
[edit]indexation reduced[/edit]
推荐答案
错误表示您尝试访问的站点目前不可用。
确认我打开了站点并被发送到维护页面。您也可以在此处查看网站的可用性 - http://isup.me/http://ubaid .tk / sms / sms.aspx [ ^ ]
您可以联系网站管理员。
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.
这篇关于应用程序发送短信不工作(短信网关 - http://ubaid.tk/)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文