tags:

views:

1156

answers:

3

Hi, I am building a desktop app in Visual C# 2.0 that can send sms through way2sms.com. anyone of you ve tried such thing...? please help.

A: 

Never used way2sms. I used clickatell. It works great even on webservers.

http://www.clickatell.com/developers/api%5Fcomobject.php

W0ut
This isn't a solution to the problem outlined, and would probably have been better as a comment rather than an answer.
Bauer
The question was "such thing". So I find this still relevant to the question asked.
W0ut
+2  A: 

This link has a solution

http://www.aswinanand.com/2008/07/send-free-sms-web-service/

We can pass parameters to the url provided with the help of a WebRequest class. I did it with following lines

HttpWebRequest request = (HttpWebRequest) WebRequest.Create("_http://www.aswinanand.com/sendsms.php?uid=" + this.txtUserID.Text + "&pwd=" + this.txtPassword.Text + "&phone=" + this.txtToMobileNo.Text + "&msg=" + this.txtMessage.Text);

StreamReader reader = new StreamReader(request.GetResponse().GetResponseStream(), Encoding.UTF8); return reader.ReadToEnd();

there is another tool implemented in java available at http://way2sms.codeplex.com/, which i am implementing in C# now.

Amit
+1  A: 

here is a good article on sending sms in c# using way2sms

http://codeglobe.in/api/way2sms/17-way2sms-api.html

irshad