Home » SQL & PL/SQL » SQL & PL/SQL » send sms
send sms [message #318141] Mon, 05 May 2008 20:50 Go to next message
Messages: 159
Registered: April 2007
Location: egypt
Senior Member
hi all
i use database 10.
i send sms by connecting to gateway via HTTP.
i write URL in my browser

and it return message id.

i create code by c# to send sms via http
            WebClient client = new WebClient ();
            // Add a user agent header in case the requested URI contains a query.
            client.Headers.Add ("ree", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR1.0.3705;)");
            client.QueryString.Add("user", "xxxx");
            client.QueryString.Add("password", "xxxxx");
            client.QueryString.Add("api_id", "xxxxx");
            client.QueryString.Add("to", "+20102013707");
            client.QueryString.Add("text", "This is an example message");
            string baseurl ="http://api.clickatell.com/http/sendmsg";
            Stream data = client.OpenRead(baseurl);
            StreamReader reader = new StreamReader (data);
            string s = reader.ReadToEnd ();
            data.Close ();
            reader.Close ();

how can i create function send sms via http by pl/sql?

[Updated on: Mon, 05 May 2008 20:52]

Report message to a moderator

Re: send sms [message #318142 is a reply to message #318141] Mon, 05 May 2008 20:56 Go to previous message
Messages: 24971
Registered: January 2009
Location: SoCal
Senior Member
>how can i create function send sms via http by pl/sql?
Previous Topic: I need help in writing a stored procedure (Merged 4)
Next Topic: Reg tablespaces
Goto Forum:

Current Time: Fri Oct 28 03:53:17 CDT 2016

Total time taken to generate the page: 0.14551 seconds