How to send sms on mobile phone from c#.net windows application while using same "way to sms" or "160by2" login id.
How to make such a code?
Please help me?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sudhakar ChaudharyPosted Jan 21, 2013, 4:29 PM
{
try
{
HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create("http://ubaid.tk/sms/sms.aspx?uid=" + uid + "&pwd=" + password + "&msg=" + message + "&phone=" + no + "&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 Successfull.", "Successfull", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
}
}
WebMessage.Send("your login id", "Password", "Message", "Mobile No");
aneev reddyPosted Feb 4, 2013, 10:42 PM
Nikunj KachaPosted Jan 24, 2013, 8:12 AM
Sudhakar ChaudharyPosted Jan 24, 2013, 7:01 AM
if u want to use any other service like 160by2.com then simply change the provider name 160by2 send method in code..
Nikunj KachaPosted Jan 23, 2013, 1:59 AM
Sachin HolePosted Jan 22, 2013, 2:17 PM
Thank you.