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.



// https://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", "https://www.some.com/folder/mms.mms");



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



string baseURL = "https://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

Where should I put these codes? I'm not familiar on it. can imake money on the internet through this?
Edited
10 Years Ago by keiwashithon98
GO

Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....







InstantASP Forums


Search