USA

Service Channels

  #1  
Old Jul 19th, 2007, 01:05 AM
hanusoftware
Guest
 
Posts: n/a
TO SEND Text message or URL through Clickatell

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
Reply With Quote
  #2  
Old Sep 19th, 2008, 06:58 AM
jim123 jim123 is offline
Registered User
 
Join Date: Sep 2008
Posts: 1
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?

Thank You

Software development Company

http://www.infysolutions.com
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cheapville Domain Registration & Web Hosting MAKES TEXT MESSAGING EASIER NewsDesk Web Hosting & Internet News 0 Nov 21st, 2006 09:18 AM
Free Rider Web Hosting Makes Text Messaging Easier NewsDesk Web Hosting & Internet News 0 Oct 27th, 2006 01:06 PM
Text Message Sender for your website or blog b34nz Website Development & Scripting 4 Sep 8th, 2006 03:23 PM
This Is Not Promotion. Dont Read This!!! Stay Away!! nickat Web Site Promotion Discussion 0 Nov 17th, 2005 08:40 AM
XMB HOST Officially Launches a Free Message Boards and Chat Forums Hosting Service NewsDesk Web Hosting & Internet News 0 Oct 24th, 2005 05:32 AM


All times are GMT -6. The time now is 08:13 AM.



Advertisements


Popular Countries




Choose a letter




Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2010 Serchen Limited