IT Community - Software Programming, Web Development and Technical Support

TO SEND Text message or URL through Clickatell

This is a discussion on TO SEND Text message or URL through Clickatell within the ASP and ASP.NET Programming forums, part of the Web Development category; WebClient wbcRingtone = new WebClient(); // Add a user agent header in case the requested URI contains a query. // Offshore Software Development ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 07-12-2007, 06:14 AM
hanusoftware hanusoftware is offline
D-Web Trainee
 
Join Date: Jun 2007
Posts: 5
hanusoftware is on a distinguished road
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.

// Offshore Software Development Company India, Software Development India

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;

Software Development India
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/asp-asp-net-programming/1616-send-text-message-url-through-clickatell.html
Posted By For Type Date
ASP and ASP.NET Programming [Archive] - DiscussWeb IT Community - Technical Support and Technology Discussions This thread Refback 03-14-2008 08:11 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning message Vani Sri PHP Programming 3 01-08-2008 05:43 AM
Warning message Vani Sri PHP Programming 6 11-28-2007 10:47 PM
How do I check that text entered in a text form field is an integer? itbarota HTML, CSS and Javascript Coding Techniques 2 10-26-2007 12:25 AM
Why do I get Error message "Unable to Start Debugging" Error Message? a.deeban ASP and ASP.NET Programming 5 09-25-2007 12:22 AM
How to Encode a text and Decode it to get the original text using c# .Net? Archer C# Programming 1 07-21-2007 01:10 AM


All times are GMT -7. The time now is 08:37 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0