Sending SMS using clickatell in ASP.Net
NickName:HelloASP Ask DateTime:2013-02-07T12:57:52

Sending SMS using clickatell in ASP.Net

I have tried this code from their site

using System.Net;
using System.IO;
WebClient client = new WebClient();
// Add a user agent header in case the requested URI contains a query.
client.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)");
client.QueryString.Add("user", "xxxx");
client.QueryString.Add("password", "xxxx");
client.QueryString.Add("api_id", "xxxx");
client.QueryString.Add("to", "xxxx");
client.QueryString.Add("text", "This is an example message");
string baseurl = "http://api.clickatell.com/http/sendmsg";
Stream data = client.OpenRead(baseurl);
StreamReader reader = new StreamReader(data);
string s = reader.ReadToEnd();
data.Close();
reader.Close();
return s;

I am getting an Proxy authentication failure in

string baseurl ="http://api.clickatell.com/http/sendmsg";

Can anyone help me out??

Copyright Notice:Content Author:「HelloASP」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/14743863/sending-sms-using-clickatell-in-asp-net

More about “Sending SMS using clickatell in ASP.Net” related questions

Format sms messages in Clickatell

We are sending sms messages to the registered users via the system using Clickatell API. I got a requirement of formatting the SMS messages as follows. The objective is to deliver a user friendly SMS

Show Detail

Send SMS By android app using web server (clickatell)

I create an android app and i want to send SMS through API provider like clickatell ( i will bay for the SMS that i will send ) i use the same code that in the website but when i run it , unfortu...

Show Detail

Clickatell tells that SMS a successfully sent to gateway but messages are not delivered

I'm trying to establish SMS sending with Node.js via Clickatell. I've already tried the way described here: https://www.clickatell.com/developers/api-documentation/nodejs/ And both REST and HTTP

Show Detail

Ruby on Rails SMS sending

I'm trying to code for an sms server using this tutorial: http://lukeredpath.co.uk/blog/sending-sms-messages-from-your-rails-application.html Here they advice us to use clickatell but i have a

Show Detail

sms using clickatell, code not working

I have signed up for clickatell service to send sms. They have given me the following code for vb.net and said they do not know if this is right or wrong. Dim client As WebClient = New WebClient ...

Show Detail

Sending Text Messages (SMS) With ColdFusion And CFMail

I'm building a web application that needs to send notifications by SMS. As ColdFusion itself provides an SMS Service, can I use the same for sending SMS without using any 3rd party SMS Gateway Serv...

Show Detail

Clickatell showing Delivered to gateway but SMS is not received using Java?

I am using clickatell sms gateway to send SMS to the User in Java. For that I have registered on clickatell and purchased Small Business API - Americas Regional Traffic to send sms to USA users. ...

Show Detail

Sending SMS using clickatell in ASP.Net

I have tried this code from their site using System.Net; using System.IO; WebClient client = new WebClient(); // Add a user agent header in case the requested URI contains a query. client.Headers....

Show Detail

Impementing Clickatell CallBack in ASP.NET using C#.NET

I am building a web application in ASP.NET using C#.NET which sends a SMS using clickatell. I am trying unsuccessfully to receive a status back from clickatell by creating a CallBack Page called

Show Detail

Does Clickatell support personalized SMS in their SMS API?

Can I send a pesonalized sms message in Clickatell SMS API? I cannot find any documentation on how to do that.

Show Detail