Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 16th, 2007, 04:11 AM
hanusoftware
Guest
 
Posts: n/a
Default 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.


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#,8 p,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;
 


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove URL from message ramone_johnny Classic ASP Basics 10 August 6th, 2008 12:58 PM
Send URL request to send sms via NowSMS deco BOOK: Professional VB 2005 ISBN: 0-7645-7536-8 0 February 16th, 2008 02:45 PM
how to send attachment with text message ashuphp PHP How-To 1 October 29th, 2007 06:08 PM
How to send an Outlook mail item to a URL haiying Access VBA 0 April 29th, 2005 08:08 AM
send a search url in a get value natmaster Javascript How-To 1 August 4th, 2003 06:26 AM



All times are GMT -4. The time now is 12:30 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.