UTL_MAIL. SEND the log information

Hello
I use utl_mail package to send email in html format.
I am able to send emails successfully, but there is a delay in the completion of my procedure utl_mail and mail delivery.
I guess that the utl_mail.send will not wait for the mail to be completely delivered to mailbox recipients / or this package returns an output parameter.
How can I determine if the mail has been sent successfully to the concerned recipient?
Is there a newspaper or an oracle table where in I can track/monitor emails sent through utl_mail.send.
Please also let me know if there are specific exceptions defined for utl_mail package(ex: utl_file.invalid_mode)

I was Searchin' for the information in the books and documentation, but with minimal use.
Please throw some light on this or direct me to documents in possession of that information.


Kind regards
Hemant

user13321434 wrote:

What can I confirm that post a single e-mail would be the operation of utl_mail.send?

Yes. This procedure connects to an SMTP server, said helo , provides the sender and the recipient e-mail addresses, and then it sends the mail message real itself.

If this is the case an exception when_others, what possible use for the block holding the call to utl_mail.send

When the conversation with the mail server fails. For example, the server is unable to accept connections to the Oracle database server. You may have incorrectly formatted e-mail recipient or sender addresses. The mail server can expect authentication (username and password). The mail server can judge that you attempt to e-mail relay (unlawful according to standards of the Internet these days, in order to reduce spam holes). Etc.

Such an error will result in the return of an error code in response to a mail server's SMTP command. The UTL_MAIL package allows to detect that the SMTP command it send failed and then throws an exception accordingly.

Will be any kind of errors produced by SMTP sent the mailers Inbox?, as I say an incorrect email address had been forwarded to the utl_mail package?

The SMTP server sends only the errors in sender Inbox when there mail delivery problems. In other words, it is accepted the mail of the customer - in this case, from using UTL_MAILPL/SQL code. He had no problem with the conversation SMTP itself. However, he ran into a form of delivery/transmission trying to process this mail - and which (should) problem will result in the release of an e-mail message to the sender to inform the sender of the problem.

Not all mail received from the mail server like that are failures - it could be a simple warning. For example, if the mail server must connect to the domain foo.com for the delivery of your mail and e-mail in foo.com server is unresponsive, the mail as the mail server queue and retry later transmission. It can (usually do) the sender of the e-mail to inform the sender that there is a problem with the transmission, it is not an error, and that it would again seek the further transmission. It's called a soft bounce (not an error).

A difficult bounce, for example, will receive a mail from the mail server informing you that the mailbox of the recipient is full and that it can not accept any mail. In this case, it is a mistake - your mail to this recipient has failed. Or you can receive an e-mail saying that the recipient does not exist in this area (no mailbox found to accept mail). Or you can hit a spam filter and mail server by saying he doesn't accept email from your mail server. All of these errors are hard rebounds resulting in the e-mail of origin being rejected for delivery somewhere along the line.

Also don't forget that you don't know if your e-mail has arrived at its destination mailbox. There is no mechanism in SMTP that allows this. You can mark an e-mail header with a label that indicates the mail reader used by the recipient, to trigger an e-mail response to you when the recipient receives or open the e-mail message. But it depends on this mail reader to honor the request. I always turn off this option in my mail readers.

The only way to determine the delivery of the electronic mail is to send a URL in the mail and asking the recipient to click on it when receiving mail - for example the approach used for the registration of an address e-mail as an account with a web site. Send the same email again in 24 hours when not receive only not URL clicks in response. After another 24 hours to consider the recipient are not interested or not accessible.

Tags: Database

Similar Questions

  • Is there a keylogger without danger, not infected who will send the logs to a specified address

    Original title: maybe not but still relavent associated microsoft

    I am trying to monitor my computer and gain experience with my computer on my home network and I was wondering if there is a keylogger without danger, not infected which will send the logs to a specified address, but will not install software malware and viruses on all my computers... ?

    Any info would be great.

    Thanks in advance.

    Hello

    As you have to appreciate we don't give advice on the use of keyloggers in these Forums.

    We spend some of our time here tell posters how to protect against Keyloggers and how to remove keyloggers on their computers.

    Kind regards.

  • Windows 8 order summary still displays the log information is incorrect

    I bought Windows 8 through the upgrade wizard and I wanted to check what my Windows Me DVD will be shipped. So I went to the Windows order summary page to see when it will be delivered, but it still shows the log information is incorrect. I checked all the details and and have repeated this process several times no nut no chance. Does anyone have a solution to this?

    Hello

    Thanks for posting in the Microsoft Community.

    I suggest you to contact the Microsoft store since you can not connect to command of Windows 8 Preview.

    See the link.

    http://www.microsoftstore.com/store/msstore/DisplayHomePage

  • How and where should I send the log file in the crash Muse?

    What muse crash - I see the message something like that... muse crash - send the log file for developers. and the ok"" button.

    Hmm... strange - after google search as send muse log - I can't find solutions! I think that I find good plase to shere my question!

    So... Developers - I can send you will break the log files to better muse! Tell me where to send!

    See the answer of Zak in this post on the forum. Let us know if this helped.

    Muse: error 1009: site does not open

    Adobe Muse CC error 1009. Need help!

    Thank you

    Preran

  • If View | Headers is set on Normal but forwarding emails always send the header information, what it takes then try to stop him?

    When I send any email it adds the header at the top of the email to transmit information. According to other posts so I put in view. Headers | Normal, that they will not be added. It does not work for me. I tried setting to view | Headers | All and then return to normal. No change. Using Thunderbird version 38.3.0 on Windows 10. I can select and remove the information from the header manually, but it's a pain. The only other option is to send as an attachment that does not add the header information, but prefer not to use this method. Any suggestions? Thank you.

    It's 5 lines. I have a lot of people who want to be part of the sent emails, but complain about the shipping info. The 5 lines personally doesn't bother me. I miss understood believe the news of transfer, 5 lines may be hidden if notice | Headers was set to Normal. I have to select and remove before the transfer or copying some individuals simply not in on emails transferred. Thanks for your help Zenos.

  • Send the log file only works on Simulator

    Hello together,

    I added the ability for our users to send a log file of the application for me (author). Its a business application. We have now deployed version and now the log file is NOT attached to the email.

    The code I am using:

    void ApplicationUI::sendLogfile()
    {
        InvokeRequest request;
        request.setAction("bb.action.COMPOSE");
        request.setMimeType("message/rfc822");
        QVariantMap data;
        data["to"] = (QVariantList() << "[email protected]" << "[email protected]");
        data["subject"] = "ceAuToApp Logdatei";
        QString fileName = QString("log.txt.%1").arg(QDate::currentDate().toString("yyyy-MM-dd"));
        QString filePath = QString("logs/%1").arg(fileName);
        QString logpath = QString("shared/misc/%1").arg(fileName);
        QFile::remove(logpath);
        QFile::copy(filePath,logpath);
        QString logpathEncoded = QString(QUrl(logpath).toEncoded());
        data["attachment"] = (QVariantList() << logpathEncoded);
        QVariantMap moreData;
        moreData["data"] = data;
        bool ok;
        request.setData(bb::PpsObject::encode(moreData, &ok));
        InvokeManager manager;
        manager.invoke(request);
    }
    

    QML:

    Button {
                text: qsTr("Logdatei an Entwickler senden")
                onClicked: {
                    _ApplicationUI.sendLogfile()
                }
                horizontalAlignment: HorizontalAlignment.Center
            }
    

    Any ideas why it works on Simulator as well as on the device (running in developer mode) but not within the company? Thanks for your help.

    Sven

    He got together with the following code:

    void ApplicationUI::sendLogfile()
    {
        InvokeRequest request;
        request.setAction("bb.action.COMPOSE");
        request.setMimeType("message/rfc822");
        QVariantMap data;
        data["to"] = (QVariantList() << "[email protected]" << "[email protected]");
        data["subject"] = "ceAuToApp Logdatei";
        QString fileName = QString("log.txt.%1").arg(QDate::currentDate().toString("yyyy-MM-dd"));
        QString filePath = QDir::currentPath() + QDir::separator() + QString("logs/%1").arg(fileName);
        QString logpath = QDir::currentPath() + QDir::separator() + QString("shared/misc/%1").arg(fileName);
        QFile::remove(logpath);
        QFile::copy(filePath,logpath);
        QString logpathEncoded = QString(QUrl(logpath).toEncoded());
        data["attachment"] = (QVariantList() << logpathEncoded);
        QVariantMap moreData;
        moreData["data"] = data;
        bool ok;
        request.setData(bb::PpsObject::encode(moreData, &ok));
        InvokeManager manager;
        manager.invoke(request);
    }
    
  • Send the log file of program as an attachment.

    I have problems with RegCure.  They (Paretologic) asked me to send only the file of log (zip files) to them in an email so they can diagnose the problem.  I am able to link all of the RegCure program (which contains zip files), but it is too long to attach it to an email and are not sent.  I found the files without any problems, but can not ONLY join these files to my email.  What do I bring them into my email?  THX

    Hi Kerrimoon,

    1. What is the total size of the files?
    2. what email program are you using?
    3. what happens when you try to attach just the files?
    4. How do you zip files?

    Every e-mail program has its own restrictions on the total size of the file that can be sent as an attachment.

    There are some third-party programs available online that would help you to compress files in more less storage space.
    Use your favorite search engine to search for this program that will help you accomplish this task.

    Important note: this response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Some Internet service providers also limit the size of both made file transfers.

    I hope this helps!

    Halima S - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Send the log of synchronization with an e-mail editor

    Hello

    I have a several step process.

    One of this full process task synchronization performance with the screening process.

    Is it possible to have a step after that tha email just finished the synchronization log?

    Where is stored synchronization log editor files?

    Thank you

    MIK

    Hi Mik,

    the recorded tracks synchronization information is stored in One Identity Manager database in tables starting with DPRJournal...

    You can use the report DPR_Journal_Summary to export the complete log using the report item.

    To generate the report, the uidDPRJournal parameter must be set to the UID_DPRJournal of the journal of synchronization you want to export.

    But we have to get the UID_DPRJournal of the database using the information on stratup startup configuration in your process chain.

  • TZ500 send the log when it is full

    I have several tz500, all configured to send emails from newspapers when it is full.  Two are 1 mail every hour.  The two are on different firmware.  Others send them 4 mails in 8ish hours.

    Hello

    It depends on how many configuration you have on individual firewalls and also the amount of traffic, for example, if you have multiple VPN site to site on a single firewall and not on the other you can expect more than marbles on the former and therefore emails sent more often.

    You may also compare the recording level to the newspaper title > page settings on the firewall.

    #IWork4Dell

  • is there a way to send the contact information form to the constant contact email service

    I use constant contact email service. is there a way to link the form of contact information to this service?

    I don't use Constant content so I can't be specific, but if the Constant Contact provides you with the forms that you can integrate in your Web site then you can do this by using the object--> the tool Insert HTML code. But there is no way to do it with the standard format of Muse.

  • Send the microsoft error report. When can I expect an answer and someone has encountered this

    im running a configuration tool LONSpec which continues to encounter a problem and sent to close.i must microsoft error report.when can I expect an answer and someone has encountered this

    You do not get a response.  The "error report" simply sends the incident information to a database.  People do not read the actual reports (they just look statistically to see if any given program regularly generates accidents), especially if this isn't a Microsoft product that caused the accident.  It is best to contact the manufacturer of the other software or check their Web site.

    Steve

  • Send the menu item for OS6

    Hey, help me please...

    I sendmenu sourcecode of blackberry Web site, I try to my BB tour 2 (9650) with operating system version 6 does not work...

    import net.rim.blackberry.api.sendmenu.*;
    
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.XYEdges;
    import net.rim.device.api.ui.component.EditField;
    import net.rim.device.api.ui.component.Menu;
    import net.rim.device.api.ui.container.MainScreen;
    import net.rim.device.api.ui.decor.BorderFactory;
    
    import org.json.me.JSONException;
    import org.json.me.JSONObject;
    
    public class SendMenuAPIDemo extends UiApplication
    {
        public static void main(String[] args)
        {
            SendMenuAPIDemo theApp = new SendMenuAPIDemo();
            theApp.enterEventDispatcher();
        }
    
        public SendMenuAPIDemo()
        {
            pushScreen(new SendCommandDemoScreen());
        }
    }
    
    class SendCommandDemoScreen extends MainScreen
    {
    
    //In the screen class, declare instance variables to represent
    //an edit field and the text that the user types in this field.
        private EditField _textToSend;
        private String _textString;
    
        public SendCommandDemoScreen()
        {
            setTitle("Send Menu API Demo");
    
    //In the screen constructor, create a new EditField object to represent
    //the field that the user types in.
            _textToSend = new EditField("Send: ", "Type the text to send here",
                                        255, Field.FIELD_HCENTER);
    
    //To specify the appearance of the EditField object, invoke setBorder(),
    //setPadding(), and setMargin(). In this example, a bevel border is created
    //for the EditField object, and a padding area and margin area are added.
            _textToSend.setBorder(BorderFactory.createBevelBorder(new XYEdges(3, 3, 3, 3)));
            _textToSend.setPadding(8, 8, 8, 8);
            _textToSend.setMargin(15, 15, 15, 15);
    
    //Add the EditField object to the screen.
            add(_textToSend);
        }
    
    //Override makeMenu() of the MainScreen class.
        protected void makeMenu(Menu menu, int instance)
        {
    
    //Invoke super.makeMenu() to add the default menu items for BlackBerry
    //device applications to the menu.
            super.makeMenu(menu, instance);
    
    //Invoke getText() of the EditField class to retrieve the text that
    //the user typed in the edit field.
            _textString = _textToSend.getText();
    
    //Create a new JSONObject object to represent the context
    //information for the Send menu.
            JSONObject context = new JSONObject();
    
    //In a try/catch block, invoke put() of the JSONObject object to populate
    //the context information using key-value pairs. Use the constants that
    //are defined in the SendCommandContextKeys class as keys. Catch a
    //JSONException, which indicates that the specified key is null.
            try
            {
                context.put(SendCommandContextKeys.TEXT, _textString);
                context.put(SendCommandContextKeys.SUBJECT, "Your Text");
            }
            catch (JSONException e)
            {
                System.out.println(e.toString());
            }
    
    //Create an array of SendCommand objects to represent the Send menu commands
    //that you want to include in the Send menu. Invoke
    //SendCommandRepository.getInstance() to retrieve the singleton instance of the
    //SendCommandRepository. Invoke get() and specify as parameters the type of content
    //to send, the context information for the content, and a boolean value
    //that indicates whether all of the commands should be retrieved
    //regardless of whether their associated applications can be opened.
            SendCommand[] sendCommands = SendCommandRepository.getInstance().get(
                                             SendCommand.TYPE_TEXT, context, false);
    
    //Determine whether the array of SendCommand objects is not null and
    //contains commands, and if so, create a new SendCommandMenu object to represent
    //these commands and add it to the menu.
            if (sendCommands != null && sendCommands.length > 0)
            {
                menu.add(new SendCommandMenu(sendCommands, 0, 0));
            }
        }
    }
    

    Help me please, when I opened there is always a view from menu error: Module 'net_rim_bbapi_sendmenu' not found.

    API said "since 7.0', you will not be able to use the OS 6.

  • Multiple Destination of the log

    Anyone know if you can send the logs to multiple destinations?  We have a preview newspaper, but our security policy requires us to send them to a central unit - so I want to send them both if that's possible?


    Thank you!

    -Karl

    Just found the answer (for anyone wondering).  ESX 5.x and higher is supported. However, the ESX 4 hosts don't support multiple destinations

    An excerpt from http://www.vmware.com/pdf/log-insight-10-install-admin-guide.pdf

    "While ESXi hosts 5.x can have several targets of syslog, ESXi 4.x hosts can have only one target."

  • How to send the VDR newspaper in a syslog centrelized?

    Hello

    is it possible to send the log file I see in the plugin VDR in vcenter to a remote syslog server?

    the net closer that I found on the appliacne is operations_log.utx and this file is not in plain text format.

    Thanks for your help.

    In VDR 1.2, most of the events are sent to the local system of the device log.  Then you should be able to send a remote syslog server based on the keyword.

  • How do I send the detail rows of the table in the form of text to the e-mail message

    We don't have BI Publisher on our box of APEX. I want to email detail rows after a summary prior amble as text in an e-mail message. I have not yet found the example in the forum. Can anyone give me a hint or help? I know how to send the summary information. I'm not sure that the best way to send the detail rows.
    Thank you
    John

    Summary information for the transport
    To: Your home address
    SENDER: FEDEX SHIPPING REFERENCE: 2929292

    Dell 8100 $2000.00 reference this is a really powerful desktop
    IBM Thinkpad P21 $4500,00 here is a laptop
    Reference Dell 2100 $2840,00 another laptop

    Published by: JAJ on June 4, 2010 14:51

    Re-reading your ad... I'd look more like that:

    You use the following (or similar) to send an e-mail, OK?

    l_id: = APEX_MAIL. SEND)
    p_to =>: P4_EMAIL,
    P_FROM =>: P4_FROM,
    p_subj =>: P4_SUBJECT,
    p_body =>: P4_BODY);

    La: p4_Body is where I do the following

    Follow these steps to build your body of your message

    DECLARE
    lcDetailLine VARCHAR2 (2000);
    lcData VARCHAR2 (200);

    CURSOR c_Details IS
    SELECT model | ' $'|| Price | » '|| Comment
    OF Detail_Table
    WHERE = Order_Num: P4_Order_Num

    BEGIN
    lcDetailLine: = ' ';

    Open C_Details;

    LOOP
    LOOK INTO lcData c_Details;
    OUTPUT WHEN c_Details % NOT_FOUND;
    goes the end of LOOP when the cursor is empty
    lcDetailLine: = lcDetailLine | CHR (10) | CHR (12) | lcData;
    END LOOP;

    : P4_BODY: = lcDetailLine;

    l_id: = APEX_MAIL. SEND)
    p_to =>: P4_EMAIL,
    P_FROM =>: P4_FROM,
    p_subj =>: P4_SUBJECT,
    p_body =>: P4_BODY);

    End;

    Thank you

    Tony Miller
    Webster, TX

Maybe you are looking for

  • iPad 4... Update ios10

    Hello world I've just updated to ios 10 on my ipad 4, now when I have it on charge, I do as I write this, which has developed next to the sign of the battery is "not supported" the sign of the battery remains white, unlike when it turns green when th

  • How to prevent users to clear their browsing history?

    We use Firefox in our office. I want to implement browsers so that users cannot delete their browsing history. I can't find information on it. Thanks in advance!

  • Portege R100: upgrade memory

    I´d like upgrade my R100 with a 1024MB key. Can I use the memory with the following specifications? DDR266 PC2100 SODIMM 200-pin Or are there things more I ve to watch? Or is there still to be a special memory for the R100 custom? Thanks for the tips

  • Parental control for Linksys EA6500 V2

    I learned recently that the parental control I set up for my children do not work.  I disabled parental controls and allowed them.  I checked to make sure I have the latest firmware for the router said, I completely reset the router and back.  Howeve

  • HP officejet 5745: hp officejet 5745 seizes upward when idle for an extended period

    I have a HP Officejet 5745 on a Windows XP Pro OS. The printer works fine when printing, however, if I use the printer and back to 6, 8 or 10 hours later, the printer is frozen and will not work. "Wireless" light but the screen is blank. If I hit the