Hw can  i use vrfy command in UTL SMTP or link LDAP with pl/sql

i m using utl smtp to send email from oracle and
i giving sender email address and receiver email address
but when i m sending email from oracle if receivers address is within domain the
then code will just give me error that undeliverable and sender will be system administer as auto mail as we always get and i m getting unable to replay if address is outside domain
now i want to check if my sender email address is exists or not then hw can i check it bcause vrfy command is not useful and and some 1 told me to use rcpt to command i m getting undelivered mail in that case but unable to catch exception
case here is that look up for email address from pl/sql on server?and what if sender is rediff or yahoo mean outside domain
can anyone guide me?

when you execute the program it would error out if the sender\recipient address is not available in the server.
Regards,
Bhagat

Similar Messages

  • Hw to use vrfy function in UTL SMTP

    hw to use function below--
    FUNCTION vrfy(c IN OUT NOCOPY connection,
    recipient IN VARCHAR2) RETURN reply;
    i want to check if senders address i m sending is right or not means exists on server or not
    sample code---
    declare
    vs_errordesc varchar2(4000);
    vs_conn UTL_SMTP.connection;
    reply varchar2(1000);
    begin
    vs_conn := UTL_SMTP.open_connection (xyz.com',25);
    UTL_SMTP.helo (vs_conn,'xyz.com');
    UTL_SMTP.VRFY (vs_conn,'[email protected]') ;
    dbms_output.put_line (reply);
    exception when others then
    vs_errordesc :=sqlerrm;
    dbms_output.put_line (vs_errordesc);
    end;
    i want to check whts reply hw can i check it?
    i m getting error here
    --UTL_SMTP.VRFY (vs_conn,'[email protected]') ;
    can u anyone help

    The VRFY command is basically useless.. had a good intent, but no practical way to do it accurately and correctly, nor does it serve any real purpose.
    Some servers (especially older SMTP version) will simply parse the e-mail address and check if the format is correct. E.g.
    -> VRFY [email protected]
    <- 252 <[email protected]>
    Newer servers will return a 502, meaning that the command is not implemented. E.g.
    -> VRFY [email protected]
    <- 502 smtp.domain.com: Command not implemente
    The reason for this is that in the vast majority of times, the SMTP server you are talking to does not own the address of the recipient. You usually send e-mail to someone in another domain, via your domain's SMTP server.
    How can your domain's SMTP server verify the recipient's address when it belongs to another domain? And what can it check? The domain name? How and why? It is not as simple as it sound.
    When you deliver an e-mail to recipient on the same domain, the VRFY also does not make sense. Why waste a round trip on that command? If VRFY says okay, you still need to send the address via the RCPT TO command. So simply send a RCPT TO command and have the server telling you yea or nae - a single round trip dealing with the recipient's address.

  • Can I use short commands in CCNA exam

    Can I use short commands in CCNA exam
    for example
    “conf t” instead of “configure terminal”

    Sim questions are always answered by configuring
    something!
    The Exam Engine grades the running config, not the
    startup config
    Before exam day …
    Practice as much as you can (real gear, simulators, sample
    tests, read every configuration in books, repeat labs while in
    class, etc.)
    Use multiple sources for practice/review of configurations
    Exam day …
    Do what you can—partial credit!!!
    Start with “show running-config”
    There are no style points!
    You can use the short version of commands on the exam.

  • How can I use srvctl command line for change "Failover type" and "F method"

    Hi all,
    I am using Oracle One Node (11.2.0.3), and I have a service:
    /u01/11.2.0/grid/bin/srvctl config service -d orcl
    Service name: orcldb
    Service is enabled
    Server pool: orcl
    Cardinality: 1
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: false
    Failover type: NONE
    Failover method: NONE
    TAF failover retries: 0
    TAF failover delay: 0
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: BASIC
    Edition:
    Preferred instances: orcl_1
    Available instances:
    I would like to change "Failover type" and "Failover method" to:
    Failover type: SELECT
    Failover method: BASIC
    How can I do that? Is there any graphical tool for it? Or, How can I use srvctl command line for change it?
    Thanks in advance.
    Leonardo.

    user10674190 wrote:
    Hi all,
    I am using Oracle One Node (11.2.0.3), and I have a service:
    /u01/11.2.0/grid/bin/srvctl config service -d orcl
    Service name: orcldb
    Service is enabled
    Server pool: orcl
    Cardinality: 1
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: false
    Failover type: NONE
    Failover method: NONE
    TAF failover retries: 0
    TAF failover delay: 0
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: BASIC
    Edition:
    Preferred instances: orcl_1
    Available instances:
    I would like to change "Failover type" and "Failover method" to:
    Failover type: SELECT
    Failover method: BASIC
    How can I do that? Is there any graphical tool for it? Or, How can I use srvctl command line for change it?
    Thanks in advance.
    Leonardo.srvctl modify service -d database_name -s orcldb -q TRUE -m BASIC -P BASIC -e SELECT -z 180 -w 5 -j LONG
    Also see
    11gR2(11.2) RAC TAF Configuration for Admin and Policy Managed Databases [ID 1312749.1]

  • How can I use a 3rd party XML parser such as xerces with OC4J ?

    Hi all tech experts,
    I am using Oracle Application Server 10g Release 2 (10.1.2) and i have
    installed Portal and Wireless and OracleAS Infrastructure on the same
    computer.
    i tried all the solutions on this thread
    Use of Xerces Parser in out application with Oracle App Server 9.0.4
    but still fighting.
    I have also posted this query on OTN on following thread
    How can I use a 3rd party XML parser such as xerces with OC4J?
    but no reply....
    Please help me on this issue.
    Since OC4J is preconfigured to use the Oracle XML parser which is xmlparserv2.jar.
    i have read the following article which states that
    OC4J is preconfigured to use the Oracle XML parser. The Oracle XML parser is fully JAXP 1.1 compatible and will serve the needs of applications which require JAXP functionality. This approach does not require the download, installation, and configuration of additional XML parsers.
    The Oracle XML parser (xmlparserv2.jar) is configured to load as a system level library of OC4J through it's inclusion as an entry in the Class-Path entry of the oc4j.jar Manifest.mf file. This results in the Oracle XML parser being used for all common deployment and packaging situations. You are not permitted to modify the Manifest.mf file of oc4j.jar.
    It must be noted that configuring OC4J to run with any additional XML parser or JDBC library is not a supported configuration. We do know customers who have managed to successfully replace the system level XML parser and the Oracle JDBC drivers that ship with the product, but we do not support this type of configuration due to the possibility of unexpected system behavior and system errors that might occur from replacing the tested and certified libraries.
    If you absolutely must use an additional XML parser such as xerces, then you have to start OC4J such that the xerces.jar file is loaded at a level above the OC4J system classpath. This can be accomplished using the -Xbootclasspath flag of the JRE.
    i have also run the following command
    java -Xbootclasspath/a:d:\xerces\xerces.jar -jar oc4j.jar
    but no success.
    How could i utilize my jar's like xerces.jar and xalan.jar for parsing instead of OC4J in-built parser ?
    All reply will be highly appreciated.
    Thnx in advance to all.
    Neeraj Sidhaye
    try_catch_finally @ Y !

    Hi Neeraj Sidhaye,
    I am trying to deploy a sample xform application to the Oracle Application Server (10.1.3). However, I encountered the class loader issue that is similar to your stuation. I tried all the three solutions but the application is still use the Oracle xml paser class. I am wondering if you have any insight about this?
    Thanks for your help.
    Xingsheng Qian
    iPass Inc.
    Here is the error message I got.
    Message:
    java.lang.ClassCastException: oracle.xml.parser.v2.XMLElement
    Stack Trace:
    org.chiba.xml.xforms.exception.XFormsException: java.lang.ClassCastException: oracle.xml.parser.v2.XMLElement
         at org.chiba.xml.xforms.Container.dispatch(Unknown Source)
         at org.chiba.xml.xforms.Container.dispatch(Unknown Source)
         at org.chiba.xml.xforms.Container.initModels(Unknown Source)
         at org.chiba.xml.xforms.Container.init(Unknown Source)
         at org.chiba.xml.xforms.ChibaBean.init(Unknown Source)
         at org.chiba.adapter.servlet.ServletAdapter.init(ServletAdapter.java:153)
         at org.chiba.adapter.servlet.ChibaServlet.doGet(ChibaServlet.java:303)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: oracle.xml.parser.v2.XMLElement
         at org.chiba.xml.xforms.Instance.iterateModelItems(Unknown Source)
         at org.chiba.xml.xforms.Bind.initializeModelItems(Unknown Source)
         at org.chiba.xml.xforms.Bind.init(Unknown Source)
         at org.chiba.xml.xforms.Initializer.initializeBindElements(Unknown Source)
         at org.chiba.xml.xforms.Model.modelConstruct(Unknown Source)
         at org.chiba.xml.xforms.Model.performDefault(Unknown Source)
         at org.chiba.xml.xforms.XFormsDocument.performDefault(Unknown Source)
         at org.chiba.xml.xforms.XFormsDocument.dispatchEvent(Unknown Source)
         at org.apache.xerces.dom.NodeImpl.dispatchEvent(Unknown Source)
         ... 18 more

  • Can I use more than one bluetooth device at a time with my iphone4

    Can I use more than one bluetooth device at a time with my iphone4

    Anthony
    I have a Plantronics 975 earpiece that works very well with my Razr.  I
    just got a Panasonic KX-TG7873S phone system for my home, it has a
    "Link-to-Cell" cellular convergence solution, from what I understand it is
    just Bluetooth enabled.  I have paired both device with my Razr.  In
    settings, Bluetooth setting, both device show.  But only one device can
    connect at a time.  If my Plantronics is connected and I choose the
    Panasonic device, the Plantronics device disconnects and the Panasonic
    device then says it is connected.  Both devices work when they
    are connected.  Is it because they are both "headsets"?
    So, to have to remember to connect to one or the other device, depending on
    weather I am coming or going is not practical.
    On Sat, Sep 14, 2013 at 1:14 PM, Verizon Wireless Customer Support <

  • Can I use Logic Pro 9.1.6 on two computers with one licens

    I have download and install Logic Pro 9.1.6 on my MacBookPro 13". I record on location with my MacBook an wil edit and arrange the music on my iMac at home. Can I use Logic Pro 9.1.6 on two computers with one licens. I'm the owner of both computers. If it can where can I find the program on my MacBook? and how to install and register?

    Hi, is  the iMac also 10.6.8? I had an iMac die when 10.6.8 was installed, it worked at first but after some You Tube flash videos the screen just locked and no mouse clicking anywhere did anything. It turned out that most older iMacs [ mine was from august 2007] have a graghics chipset that can't handle Snow Leopard, there were [are?] 77 pages on this "locked screen"topic in the Snow Leopard forum. I checked out a web site that tells you how much your mac is worth by filling in the sereal number-mine was worth only $168, I may give it to a friend for his children to play with, although that seems unholy. I doubt anyone woud buy it,the problem is now so well known that even Apple certified resellars here in the Netherlands refuse to repair them,they claim Apple will revoke their certification if they replace the faulty Graphics unit,it is also VERY hard to get to that unit in an iMac, everything is so tightly packed inside.
    If your iMac is running Mountain Lion[10.8.0] you may have to change the app store preference to accept apps from all sites,normally ML will only allow app store apps to be downloaded.

  • How can I use a firewire hard drive on a new Macbook with one USB-C only?

    How can I use a firewire hard drive on a new MacBook with only one USB-C?

    kaz-k is correct about FireWire not being supported by any possible connector or adaptor to USB-C and never will.  However, there is no such thing as a FireWire Hard Drive.  There are only SATA (or if it is a really old one, ATA,) drives in a FireWire enclosure.  If you can remove the drive from the case/enclosure - bust it open somehow if it is a glued-up unit - then the drive can be placed into a regular USB3 enclosure. Then it can connect to the new MacBook via any one of the adaptors Apple sells.

  • How come you can not use more than 126GB of a 1.5TB diskdrive with LabVIEW Real Time?

    How come you can not use more than 126GB of a 1.5TB diskdrive with LabVIEW Real Time?
    This is only 8.3% of the available disk drive space!
    http://digital.ni.com/public.nsf/allkb/E7E2F5657B6​026358625750B007201A6?OpenDocument
    National Instrument's solution is either reformat you drive to less than 126GB or replace the drive with one less than that size.
    Please NI, tell me you are going to fix your LabVIEW Real Time soon, and that we won't have to wait for LabVIEW RT 9.2.1 in 2011 for this one to be fixed.
    http://upload.wikimedia.org/wikipedia/commons/9/90​/Hard_drive_capacity_over_time.svg
    Drives as large as 126GB or more have been around since about mid 2002.  That's about 7 Years now and LabVIEW Real Time STILL can't use drives larger that 126GB!  Please NI.  Do something.
    We deserve fixes to the old versions of LabVIEW RT.  How about updates to LabVIEW RT.  Such as 7.0.2, 7.1.2, 7.6.2, 8.0.2, 8.2.2, 8.6.2.
    We don't need new features or versions of LabVIEW RT such as 9.0 until we have some of bugs fixed in the existing versions. 
    Kevin. 
    Message Edited by kmcdevitt on 05-29-2009 03:39 PM
    Solved!
    Go to Solution.

    Coq rouge wrote:
    NI is not making the Real Time OS in house. I do not remember which firm that is making it. Anyway you are allowed to use a hard drive that has been partitioned. And 126GB is some space is it not? I remember Bill Gates declared one time that 640Kb ram should be more than enough for any PC application also in the future 
    Coq Rouge (formerly t06afre),
    The RealTime OS is an NI Product that is purchased from NI.
    NI may or may not outsource design, developement, or manufacturing of the products that it sells under its own Company name.
    For this reason I would be concerned if I were a PXI Embedded Controller designer/developer in the United States. 
    Yes, 126GB is some space.  I see that there are now 2TB drives available.  126GB would be 6.3% of a new 2TB drive.  Should we all be happy with being able to use 6.3% of the available drive space.  Moore's Law seams to be alive and well.  Drives larger than 126GB have been readily available for 5 or 6 Years.  This should not be a surprise to NI.  Why don't they do something about it.
    Thanks for the trivia on Bill Gates.  I must have missed that one since I don't try to keep up with Microsoft.  I believe that he is a wonderful person and he and his family are doing wonders for the world in their "retirement".   The world needs more like him.
    What I do remember is Steve Jobs telling us that we would never need more that 128MB and that we would never to need to do anymore software development because everything was already in the "ToolBox".
    McKevin.  

  • How can I use JTA in my business logic and execute process with PAPI?

    HI All,
    How can I use JTA in my business logic and execute process with PAPI?
    When my business logic has exception, the process will rollback.
    or the process has some exceptions, my business logic also will rollback.
    I don't know how to do it.
    Does anyone know how to do it?

    Thank you for your reply, Daniel.
    But I think I did not express my mind clearly.
    There is a scene that I have 2 Application Server.
    My business code is deployed in one Server.
    The BPM is deployed in another Server.
    I want to execute Task use PAPI.(ProcessServiceSession.runActivity)
    In my business code, I will do something before execute Task.
    I need my business logic and Task in same transaction.
    To ensure them "all-or-nothing" .
    As you say, if The transactions are managed by Oracle BPM.
    then can I retrieve OBPM transcaction in my business code?

  • How can i use Nikon D 7100 and Panasonic Lumix DMC-LF1 with Photoshop CS 5 Camera Raw?

    How can i use Nikon D 7100 and Panasonic Lumix DMC-LF1 with Photoshop CS 5 Camera Raw?

    The one needs 7.4 (or better), the other 8.1, so Photoshop CS5 with ACR6 is not up to the task.
    The free DNG Converter could be used to convert the RAW images to DNG which your version of ACR should be able to process.

  • Logic Pro 9 (9.0.0).   Message You can't use this version of the application Logic Pro 9 with this version of Mac OS X You have Logic Pro 9 9.0.0.   I have been told that I can use the Logic Pro 9.1.4 Update (.dmg) which you can download from Apple Logic

    Since upgrading to lion, I can't use Logic pro, hope someone can help.  thank you
    Logic Pro 9 (9.0.0).
    Message
    You can't use this version of the application Logic Pro 9 with this version of Mac OS X
    You have Logic Pro 9 9.0.0.
    I have been told that I can use the Logic Pro 9.1.8 Update (.dmg) which you can download from Apple Logic Support, although when I try to upgrade my I get this message:
    An eligible Logic Pro version was not found in the Applications folder. This update requires Logic Pro version 9.0 or higher.

    Since upgrading to lion, I can't use Logic pro, hope someone can help.  thank you
    Logic Pro 9 (9.0.0).
    Message
    You can't use this version of the application Logic Pro 9 with this version of Mac OS X
    You have Logic Pro 9 9.0.0.
    I have been told that I can use the Logic Pro 9.1.8 Update (.dmg) which you can download from Apple Logic Support, although when I try to upgrade my I get this message:
    An eligible Logic Pro version was not found in the Applications folder. This update requires Logic Pro version 9.0 or higher.

  • Can i use HP external DVD writer on Mac Book pro with retina display?

    can i use HP external DVD writer on Mac Book pro with retina display? and can i use seagate external hard disk on mac book pro with retina display?

    You should have no problem using the external optical drive. As for the external HD, you'll need to format it properly, depending on whether you want to use it with a Windows machine as well as your MacBook Pro.
    Clinton
    MacBook Pro (15-inch Late 2011), OS X 10.??, 16GB Crucial RAM, Crucial M500 960GB SSD, 27” Apple Thunderbolt Display

  • Can i use iphone 5s t mobile contact free in indonesia with my indonesia sim card?

    Anyone help me, can i use iphone 5s t mobile contract free in indonesia with my indonesia sim card?

    Try reading the question again, but this time properly and you will see that the question does not say "mobile contract"?.
    What it actually says is "iPhone 5s T-Mobile Contract Free".  There is a difference and as you have not read the question properly you are providing a response that is just not applicable.

  • Can I use the wireless backup functionality of a time capsule with a PC?

    Can I use the wireless backup functionality of a time capsule with a PC?

    Yes, take a look at this link, http://techsupport.foreverwarm.com/time-capsule-windows

Maybe you are looking for

  • Font substitution.

    I'm on an iMac running 10.4.11 and have updated to Acrobat Reader Version 9. I'm receiving PDFs from a colleague whose originating document is using Courier font. When the PDF is opened on my system the document's Courier font has been substituted wi

  • Airport Card Disappeared After Turning Airport Off

    I successfully used my MacBook Pro to connect wirelessly to the 'net for 2 hours, then turned Airport off for security purposes. I came home and tried several times -- unsuccessfully -- to turn Airport back on (to use my home Airport Express.) The wi

  • Port opening on time capsule

    Dear all, I know there are posts on this already, but there is none that worked for me. I use TC (and therefore airport) as a router. It is ethernet connected to the cable modem, and to a PC running ubuntu. I connect wifi with my macbook air. I recen

  • Line In connections for SB L

    I want to record some tapes and LP's through my stereo. In reading the User's Manual I don't see a restriction on what I can use for an input, other than the reference to Line In on the card. Can I use the Headphone jack on my stereo if kept at low v

  • Jdeveloper performance issue

    Jdeveloper 11.1.1.6 I observe that Jdev is very slow & hangs often, though I am having 8 GB RAM in my PC. Found certain articles in the web to improve Jdev performance & made the following changes in the Jdev configuration files: $JDEV_HOME/jdevelope