How to send sms from plsql procedure

Dear All,
I want to send a sms through a oracle procedure.
What will i use?
I had heard about utl_smtp package.
So how will i use it?
Please help me?
With regards

hey i have this procedure
can this work?
Create or Replace Procedure SEND_SMS1
( p_sender in varchar2,
p_recipient in varchar2,
p_message in varchar2)
as
mailcon utl_smtp.connection;
begin
mailcon :=utl_smtp.open_connection('<your Mail Server SMTP Address>');
utl_smtp.helo(,'<your Mail Server SMTP Address>');
utl_smtp.mail(mailcon,p_sender);
utl_smtp.rcpt(mailcon,p_recipient );
utl_smtp.data(mailcon,'From: ' ||p_sender|| utl_tcp.crlf||
'To: ' || p_recipient ||utl_tcp.crlf ||
'Subject: SMS From Database' || utl_tcp.crlf ||
p_message);
utl_smtp.quit(mailcon);
end;
exec SEND_SMS(‘[email protected]’, ‘[email protected]’,’This is my first SMS’);

Similar Messages

  • How to send SMS from JSP application.

    Hi,
    I have created a web application using JSP for our Office internal use. I want to include the folowing option in our app.
    1) How to send SMS from the application to mobile.
    2) I don't want to use third party service (ex: SimpleWire). as the app is for internal purpose only.
    It will be helpful, if I get the complete procedure to implement it, as this is my first application.
    Thanks & Regards
    suresh.

    I am having problem with smslib. smslib is an enhanced version of jsmengine, I have compiled the program, there is no error but when I run it , the following error is found. Can you help? my email is [email protected]
    Exception in thread "main" java.lang.NoClassDefFoundError: CIncomingMessage (wrong name: org/smslib/CIn
    comingMessage)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

  • How to send SMS from a servlet  to a mobile phone

    How to send SMS from a servlet to a mobile phone what are the things i have to do.......
    very urgent..

    Hi, please read this:
    http://forum.java.sun.com/thread.jspa?threadID=345296&messageID=2608297
    Found on the very forum with the search function ;)

  • How to send sms from iPad via iphone

    How to send sms from iPad via iphone?

    You don't easily.
    The pad, with I message turned on, will send text like messages to any other ios5 user that has I message turned on.
    The pad is not a phone, and does not have the radio to send 'real' SMS messages, which use the phone channel.
    There are a few apps in the store that will convert messages to SMS, for use with non apple folks.  Check out the app store.  Search SMS.

  • How to Send SMS from Oracle Database to Mobile

    Hi All,
    I need urgent help in how to send sms from oracle database to mobile
    thanks and best regards

    you can use smslib..... . i have made a program with this. its working fine with oracle database.
    see the links here ...
    http://halimdba.blogspot.com/2011/08/send-sms-from-oracle-database-with.html
    by the way, how you can say "urgent help" ?
    regards
    Halim

  • How to send sms from oracle application to cell phone

    Hi all
    please send me in how to send sms from oracle application to cell phone. Is there any way to solve this task. if so please suggest me.

    Please see old threads for similar discussion -- http://forums.oracle.com/forums/search.jspa?threadID=&q=SMS&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • How to send SMS from SAP to Any mobile

    Hi Friends,
    I have a requrement. How to send SMS from SAP to Any mobile?? For Example: If i created PO in SAP then i want to send a SMS to Concerned Vendor and HOD.
    Please provide the pre-requisites?
    Naveen

    Hi Naveen,
    there is a standard webservice globally available called Send SMS and you can consume that webservice with the help of CAF and you can send PO number as SMS, If the standard webservice do not work then you have to create your own webservice to fulfill the functionality.
    Regards
    Manohar

  • How to send SMS from Computer to Iphone 5

    How to send SMS from Computer to Iphone 5 ??

    You must have a computer running Mountain Lion in order to use iMessage on a Mac.

  • How to send sms from jsp

    how to send sms from jsp

    First of all, you need to have the gsm modem or access to any Telco sms gateway.
    If you don have any access to the Telco sms gateway, try to download the SMSLib-Java-v2.1.2 java library from the http://sourceforge.net/project/showfiles.php?group_id=164313.
    Edit the example in the download file and include the example in your JSP file to send the sms using GSM modem.

  • How to send sms from gsm modem(AT commands) to j2me application(not inbox)

    hi
    i want to send sms from gsm modem to a j2me application, for this to happen i have to send sms to a specific port in which j2me application is running.when i m trying to send sms from modem it doesnt go to application it goes to inbox.
    is it related to udh settings if yes then how do i set port no in settings?if no what are the other ways.

    Hi Vignesh,
    Might be you can call ActiveX or DLL objects of the software installed for modem from LabVIEW, if it is unblocked.
    Have a  look on the link > http://zone.ni.com/devzone/cda/tut/p/id/2983
    CLA 2014
    CCVID 2014

  • Howe to send sms from oracle forms

    i need your help plzz i wana to send sms from my applicatin

    in normal case you will need an provider for sending sms (pswin,clickatell...) and the easiest way send sms is with a http-api, provided by most of these providers.
    You can do the http-request in forms, by using web.show_document or webutil or, that is the method i prefer put it in the database and let a stored procedure handle the sms-sending. Here is a example of using such an api:
    url := 'http://xxx.xxx.com/send/?typ=2&from=mecker&to='
    || UTL_URL.escape(vMobileNo, true, 'ISO-8859-1')
    || '&txt=' || UTL_URL.escape(vMessageText, true, 'ISO-8859-1')
    ||'&id=myaccount&pwd=testpw&autoroute=1';
    UTL_HTTP.SET_TRANSFER_TIMEOUT(120);
    resp_pieces := utl_http.request_pieces(url);
    for i in 1..resp_pieces.count loop
    value := value || resp_pieces(i);
    end loop;
    There is another example on the pswin homepage at:
    http://www.pswin.com/_pswincom/Downloads/SMS_UTIL.PKS.txt
    I am also sending SMS with unicode, a little bit more complex, if you need unicode-characters let me know ([email protected]), i will give you an example.

  • How to send SMS from Java program?

    Hello,
    I want to know, how can I send SMS from Java program.I dont have any idea about SMS gateways. Can any one give me Sample code for sending the SMSs from Java Program.
    Thanks,
    -BR

    hi,
    refer javamail concepts
    http://www.google.co.in/search?q=javamail+simple+example&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

  • How to send sms from pc to various mobile service in india

    I am trying to send sms from my pc to various service provider(airtel, hutch, bsnl).But i am able to send only to airtel connection(using thier website : [email protected]). But i am unable to send to other service provider. Or is it required to have SMS centre(SMSC) for sending SMS And also how inditimes 8888 will work(automatic replay for SMS)
    Anybody can help in this topic
    Thanking you

    do google search. there are a lot of free sms gateways available over the internet. they come with java apis too. generally speaking, an sms can be sent to a phone only thru its SMSC. however, some sms gateways need you to connect a mobile to your com port so that they can send sms thru that. (in that case the sms flow will be like this: yourcomputer --> your mobile --> your mobile's smsc --> receiving phone's smsc --> receiver phone) hope i have not confused you..
    regards
    raamam

  • SMS from plsql procedure

    Dear All,
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - ProductionI am planning to Send SMS to the different users (users may by 5) after DML Oparation happens on a particular table But i dont know what are the requirement for sending sms from oracle database.
    Can somebody please tell me.
    Regards,
    Chanchal Wankhade.
    Edited by: chanchal on Aug 15, 2012 10:46 PM

    You are not reading what the responses say.
    One option is to use an e-mail interface to a SMS service. To send a SMS, you send an e-mail. The recipient address is for example the mobile number. The e-mail body the SMS message.
    Another option is to use a standard telnet like interface of a SMS service. You connect to the service (using UTL_TCP for example) and then provide the mobile number, SMS message, and so on.
    Yet another option is a serial interface requiring a modem and telephone. You dial the SMS service and via the modem provide the mobile number and SMS message. Standard RS323/serial modem communication.
    Etc.
    There are many such options. The one to use depends entirely on the infrastructure that is available to send a SMS.
    But please, do not be so ignorant to think that Oracle PL/SQL can create a SMS and magically send that across a cellular network, without you having the required infrastructure to connect you to that cellular network, and deliver a SMS for transmission to that network.

  • How to send sms from SAP

    What are the possibilities to send sms from SAP.  I know scot, but this is for sending e-mails

    Yes and No
    SCOT does indeed send mails, but if your mailserver is capable to send SMS , then scot can help you via smtp,  another option is to use http :
    have a look at the options here:
    link:[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm]
    Hope this helps
    Regards
    Nico

Maybe you are looking for

  • ITunes (and Airfoil) can see Airport Express but can't connect in Windows XP (error -15000) - firewall problems?

    I am using Windows XP Professional 2002 w/ SP3 on a Dell Latitude E4300 laptop wirelessly connecting to my Airport Express 802.11n (firmware 7.5.2). I can see my Airport Express in iTunes 10.4.1 and can select it via the Airplay button. iTunes even d

  • How do I convert Word 2004 files for use with Mavericks?

    I have recently upgraded to Mavericks and now find that my old Word files (2004) can't be opened. (I can still open my Word 2008 files.) I have been a maths teacher for decades and have many old files which are still very useful but they contain more

  • Handle Query when he doesn't return value

    hello, I have this code in a WBP begin go_block('xxx'); execute_query; end; and in my 'xxx' block i have a pre-query that makes a set_block_property('xxx',defaut_where,value); but when my query doesnt find any record he still continues to run untill

  • ASDM Unable to read config

    Hello, I have a PIX 515e. When I load the ASDM Software on my pc I receive the error " ASDM us unable to read the configuration from the PIX. Please check the configuration and your connection and then try again by licking the refresh button." I can

  • I DON'T RECOMMEND UPGRADING TO iOS4 IF YOU HAVE AN iPHONE 3G!

    iOS4 has ruined my iPhone 3G! It has been a complete and utter disaster. One of the many problems has to do with the contacts. My iPhone 3G runs extremely slow, shuts off randomly, and has no contacts. All of which make a "smart phone" not so smart!