Flash Games

 FAQ   Search   Members   Groups   Register  User Control Panel      Login 

Your time now:
Mon Nov 23, 2009 11:56 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ]  Bookmark and Share
Author Message
 Post subject: TO SEND Text message or URL through Clickatell
PostPosted: Mon Jul 16, 2007 1:25 pm 
Offline

Joined: Mon Jul 02, 2007 9:26 am
Posts: 5
Location: gurgaon
WebClient wbcRingtone = new WebClient();

// Add a user agent header in case the requested URI contains a query.

// http://www.hanusoftware.com

wbcRingtone.Headers.Add("user-agent","Mozilla/4.0(compatible;MSIE 6.0;Windows NT 5.2; .NET CLR 1.0.3705;)");

wbcRingtone.QueryString.Add("user","xxxxxxxx");

wbcRingtone.QueryString.Add("password","xxxxxxxx");

wbcRingtone.QueryString.Add("api_id", "xxxxxxxxxx");

//wbcRingtone.QueryString.Add("msg_type", "SMS_NOKIA_RTTL");

wbcRingtone.QueryString.Add("to", cellNo);

////wbcRingtone.QueryString.Add("text", "Flintstone:d=4,o=5,b=200:g#,c#,8p,c#6,8a#,g#,c#,8p,g#,8f#,8f,8f,8f#,8g#,c#,d#,2f,2p,g#,c#,8p,c#6,8a#,g#,c#,8p,g#,8f#,8f,8f,8f#,8g#,c#,d#,2c#");

wbcRingtone.QueryString.Add("from", "xxxxxxxxx");

wbcRingtone.QueryString.Add("mms_subject", "xxxxxxxxx");

wbcRingtone.QueryString.Add("mms_class", "xxxxxx");

wbcRingtone.QueryString.Add("mms_expire", "xxxxxxx");

wbcRingtone.QueryString.Add("mms_from", "xxxxxxxxx");

wbcRingtone.QueryString.Add("mms_url", "http://www.some.com/folder/mms.mms");

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

string baseURL = "http://api.clickatell.com/mms/ind_push.php";

Stream data = wbcRingtone.OpenRead(baseURL);

StreamReader reader = new StreamReader(data);

string s = reader.ReadToEnd();

data.Close();

reader.Close();

string queryURL = GetQueryForMMS(s);

return queryURL;


Software Development India

_________________
Offshore Software Development Company India, Software Development India


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 17, 2008 10:45 am 
Offline

Joined: Wed Sep 17, 2008 10:39 am
Posts: 0
Hello,
I have an account with clickatell, but i don't know how I can put their C #sample code in my web site that when my users want to register in my website, they must receive one SMS when they click submit button. Would u guide me?

http://www.infysolutions.com

Thanks a lot


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games - TNX Invitation Code - TNX Review


Webmaster - Excruciating - Johnathan - Kotik - Ash - Tomi - rangana - Phate - dflynn - Medley