Email Delivery Status Reports

Greetings,
We are comtemplating emabarking on a project and I was needing to get some feedback, ideas or suggestions.
What we have is a Java Web App that uses the JavaMail API to send out emails to several users. It's sort of like a newsletter type mailing app. We'll, we'd like to get some reporting for these emailings.
We are thinking of possibly using DSN's to get delviery status of messages, but we are not sure exactly how or if this is the best way.
Has/is anyone doing something similar, and if so, and advice? I'm not real ure how we should go about handling the DSN's, would we have the DSN's all come back to a certain mailbox, then connect via JavaMail to the mailbox and parse the email from there, or is there a better method?
Thanks for any help in advance!

Ok, well, this reporting is not neccesarily for reading as much as wether the email made it to thier mailbox or not. So, legal/social implications aside, would the DSN's not be a way for us to go and if so, would perhaps parsing the SMTP logs, or parsing bounce back emails be a better way?
Essentuially we want to know if and email get's a "sent" status, or if there are error becuase the user doesn't exists, or a mailbox is full,etc...
However, we want to report for particular messages sent, not for everything. The problems we face is that using raw smtp logs, we can't differentiate very easily (if at all) wether it was newsletter A or Newsleter B that failed and provide a report for it. That's how the DSN's came into play, becuase we could actually see what particular mailing it was and report for that.
So, is there a better way, using perhaps a certain MTA/logging format or bounces, or is the DSN the best way to get granular reporting?
Thanks!!

Similar Messages

  • Javamail delivery status report HELP

    This is the mail delivery status report that is given back to me....
    how do i determine which is valid and which is not valid
    // Actual detail of the mail, eg, from, to, send date etc
    public void dumpEnvelope(Message m, PrintWriter out, InMailBean inMailBean) throws Exception {
    Util util = new Util();
    System.err.println("In dumpEnvelope");
    out.println("<P>" + "This is the message envelope"+ "</P>");
    out.println("<P>" + "--------------------------"+ "</P>");
    Address[] a;
    // FROM
    if ((a = m.getFrom()) != null) {
    for (int j = 0; j < a.length; j++){
    out.println("<P>" + "FROM: " + a[j].toString()+ "</P>");
    inMailBean.setSender(a[j].toString().trim());
    // TO
    if ((a = m.getRecipients(Message.RecipientType.TO)) != null) {
    for (int j = 0; j < a.length; j++) {
    out.println("<P>" + "TO: " + a[j].toString()+ "</P>");
    //inMailBean.setReceipient(a[j].toString());                      
                   /*     InternetAddress ia = (InternetAddress)a[j];
                        if (ia.isGroup()) {
                             InternetAddress[] aa = ia.getGroup(false);
                             for (int k = 0; k < aa.length; k++)
                             System.err.println("  GROUP: " + aa[k].toString());
    FROM: [email protected]  (sender)
    TO: [email protected]   //<<<-----this is (valid)
    TO: [email protected] //<<<<----this is (invalid)
    if i open my outlook express...it will shows
    Reporting-MTA: DNS; emg-mrk04.localdns.com
    Arrival-Date: Fri, 6 Apr 2007 15:10:44 +0800
    Original-Recipient: RFC822; <[email protected]>
    Final-Recipient: RFC822; <[email protected]>
    Action: failed
    Remote-MTA: DNS; mx2.hotmail.com
    Last-Attempt-Date: Fri, 6 Apr 2007 15:10:43 +0800
    Message number: 0
    This is the message envelope
    FROM: Mail Delivery Subsystem
    TO: [email protected]
    SUBJECT: Returned mail: response error
    SendDate: Fri Apr 06 14:52:49 SGT 2007
    FLAGS:
    X-Mailer NOT available
    CONTENT-TYPE: multipart/report; report-type=delivery-status; boundary="[email protected]"
    This is a Multipart
    CONTENT-TYPE: text/plain
    This is plain text
    The original message was received at Fri, 6 Apr 2007 14:52:49 +0800 -
    The following addresses had permanent fatal errors -
    Transcript of session follows -
    ... while talking to mx3.hotmail.com >>> RCPT To: <<< 550 Requested action not taken: mailbox unavailable
    This is a string
    The original message was received at Fri, 6 Apr 2007 14:52:49 +0800 -
    The following addresses had permanent fatal errors -
    Transcript of session follows -
    ... while talking to mx3.hotmail.com >>> RCPT To: <<< 550 Requested action not taken: mailbox unavailable
    CONTENT-TYPE: message/delivery-status
    This is a Multipart Report -
    CONTENT-TYPE: message/rfc822
    This is a Nested Message
    This is the message envelope
    FROM: [email protected]
    TO: [email protected]  
    TO: [email protected]
    SUBJECT: sending mail exception 2
    SendDate: Fri Apr 06 14:52:11 SGT 2007
    FLAGS:
    X-Mailer NOT available
    CONTENT-TYPE: text/plain
    This is plain text
    sending mail exception 2
    This is a string
    sending mail exception 2
    Message was edited by:
            yzme yzme
    Message was edited by:
            yzme yzme

    For this, you need to answer the following:-
    a)  where the customer required date is being captured in sale order ?  Is it Requested Delivery Date ??
    b)  If it is RDD, will there be any manual change in that ??  If so, how will you track the changes
    I feel, for the above questions, you have to develop a zee table where you need to capture the original delivery date and the change date so that you can compare this with the actual despatch date.
    There is no standard report to make use of the requirement what you had narrated.
    G. Lakshmipathi

  • Sales order delivery status report

    Hi,
    i have to give a report on sales order delivery status report which displays the sales order information and delivery status details. and also please let me know the tables.
    thanking you in advance.

    Hi,
    For the document header and document items, VBAK and VBAP, you can find the delivery status in the table VBUK and VBUP respectively.
    The fields are VBUK-LFSTK
    In VBUP, the field is VBUP-LFSTA which can take values, null, A, B, C for not relevant, Not yet processed,Partially processed and Completely processed
    Based on this, you can write your report.
    Hope this helps. You can reward if this helps.

  • Delivery status Report

    Hi ,
        Can anybody tell me what are all the process to be finished like Picking ,PGI etc. before the Delivery is set as completed.I want to know the order of processing
    the delivery document along with their table fields.
    Regards,
    Vigneswaran S

    Hi Vignes
    better post your thread in R/3 SD. This seems to be OLTP reporting.
    thanks
    ViVa

  • Delivery status notifications Code Samples

    Hi,
    I'm looking for some code samples on how to use javamail Delivery status notifications.
    Please, are there any code samples?
    ngocthan

    I accept that the recipient must actually confirm receipt but until very recently I could request a delivery status report and would get confirmation that an email had been delivered to the intended server or not as the case may be. Suddenly these confirmations have stopped and I think it unlikely that all the receiving servers have simultaneously been programmed not to send delivery status confirmation. Confirmation of delivery to the receiving server is important, sometimes vital, in my work to demonstrate that non-receipt is a problem at the receiving end and that a document or email was actually sent.

  • Need a report on delivery status and response status for capaign recipients

    hi, i need to make a report on delivery status and response status for capaign recipients but cannot find them in the campaign subject area nor the campaign response subject area, any idea?
    thanks

    Correct the Campaign Response History is the report you are looking for. The fields that may be helpful to you are.
    Response status - This shows message opened, click-thru's, opt outs etc
    Delivery status - Hard bounce, soft bounce etc
    To get more details from the above results add the following.
    Response type - This will show the URL that was clicked on a click-thru in case you have multiple links tracked in one email. It will also show the reason for hard bounces. This is important because not all hard bounces will trigger the "Never Email" flag to be checked. This occurs for emails with the bounce statuses of Bad Address,
    Address Moved or Unknown Address only.

  • I am receiving emails fine but people sending emails are getting "This is an automatically generated Delivery Status Notification."

    So people sending me emails are getting this notification even though I am getting all of their emails.
    This is an automatically generated Delivery Status Notification.
    Delivery to the following recipients was aborted after 1 second(s):
    * [email protected]
    Reporting-MTA: dns; resqmta-po-10v.sys.comcast.net [96.114.154.169]
    Received-From-MTA: dns; resomta-po-03v.sys.comcast.net [96.114.154.227]
    Arrival-Date: Fri, 13 Mar 2015 00:11:39 +0000
    Final-recipient: rfc822; [email protected]
    Action: failed
    Status: 5.1.1
    Diagnostic-Code: smtp; 550 5.1.1 Recipient address rejected: {Gateway}
    Last-attempt-Date: Fri, 13 Mar 2015 00:11:40 +0000
    Received: from [10.0.0.4] ([174.63.66.5])
    by resomta-po-03v.sys.comcast.net with comcast
    id 2oBe1q00S06oTie01oBfmR; Fri, 13 Mar 2015 00:11:39 +0000
    X-Authority-Analysis: v=2.1 cv=brXCBSqi c=1 sm=1 tr=0
    a=d75dIf30LeQD1RLuRZUoGw==:117 a=d75dIf30LeQD1RLuRZUoGw==:17 a=C_IRinGWAAAA:8
    a=GGcpBh7Jt_oA:10 a=73ab78M7B2EA:10 a=r77TgQKjGQsHNAKrUKIA:9
    a=9iDbn-4jx3cA:10 a=cKsnjEOsciEA:10 a=gZbpxnkM3yUA:10
    a=6BrDaJ5WXvREvQ-J4T4A:9 a=QEXdDO2ut3YA:10 a=jHBHo6-IVdtYVL4fa8AA:9
    a=_W_S_7VecoQA:10 a=qOu-Zh59HcEA:10 a=AfkkXffo6PgA:10 a=2rOyub8MfPoA:10
    a=MPPUs8NNPK4A:10
    Message-ID: <[email protected]>
    Date: Thu, 12 Mar 2015 20:11:31 -0400
    From: Michael Hamilton <[email protected]>
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
    MIME-Version: 1.0
    To: [email protected]
    Subject: test
    Content-Type: multipart/alternative;
    boundary="------------050909070108050106030501"

    I have sent you a test message.
    added: I got the same Notification from Comcast. If you go to the comcast website, is there a place to request an 'out of office' or 'vacation response'? If so, is that turned on?
    Did you receive my email?

  • Keep Record of Email read ,write and delivery status failed

    Hi,
    i have thousand email id 's in my table.
    I am sending promotional mail to users.
    my pl sql email function is working fine.
    i want to keep track of the email send to users like
    some email will be read by user, some email's delivery status will be failed,some will reply to email.
    how can i keep track in my database. can you send me any tutorial or link where i can learn about it how to do that in application.

    Hi InoL ,
    i never used java in oracle apex. how can i use java code into my application? where i have to write this code.
    What step i have to follow to write the code.
    Thanks & Regards
    Vedant

  • Delivery status of an Email

    Hi Guys,
    We are developing a Email engine using Oracle. Can any one of you guys help us on this problem.
    How do I get the delivery status of an email. If I send an email from Oralce, I wish to know the delivery status of that particular email.
    Thanks for all of you in advance
    r@m@

    I assume that if the e-mail server gives no errors, then at lest the e-mail reached the e-mail server. How you watch it from there is a very good question, I have no idea.

  • Can BPEL Email/SMS activity get delivery status from UMS???

    While implementing to send SMS/Email using BPEL service, does BPEL service gets delivery status back from UMS? If yes, how?
    Below UMS documentation indicates UMS makes delivery status available to application.
    Robust message delivery: UMS keeps track of delivery status information provided by messaging gateways, and makes this information available to applications so that they can respond to a failed delivery. Or, applications can specify one or more failover addresses for a message in case delivery to the initial address fails. Using the failover capability of UMS frees application developers from having to implement complicated retry logic.
    Thanks In Advance
    Priyadarshi

    Hi Priya,
    In our case, with respect to the SMS interface, whatever SMS server that we are using should have a specific set of documentation listed with respect to the different status of the message delivery. We have handled that using the java embedding activity and then updated the DB records accordingly.
    Coming to the Email services, am not completely sure if there is one. However we can monitor the same using the EM console itself.
    Thanks,
    Deepak.

  • Message delievery status report of specific email

    Hi,
    I am using Exchange 2010 with sp3. My audit group require to message track of one email address.Means all the messages send or receive from this email ID  will be track with date, time and delivery status (Send,Receive, Failure and Read).
    Is their any power shell command or script to do that.
    Thanks.

    Hi,
    Agreed. We can enable message tracking and retrieve related information via searching message tracking log. However, we don't get the status of READ, event id just offer "BADMAIL, DELIVER, DSN, EXPAND, FAIL, POISONMESSAGE, RECEIVE, REDIRECT, RESOLVE, SEND,
    SUBMIT, and TRANSFER", there is no "READ".
    Here is an article about the description of Message Tracking Log Fields for your reference.
    Description of Message Tracking Log Fields
    http://technet.microsoft.com/en-us/library/cc539064.aspx
    Generally, to know whether recipients have read emails, users can request a read receipt when send emails. I'm afraid there is no way to get the READ status using a command.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Nokia lumia sms status report or delivery report

    I bought a lumia 620 just two days back.Mainly what made buy a nokia lumia 620 rather than Htc 8s is that some OEM features..which only Nokia and Sony provides,like sms,mms delivery....out going call waiting notification (may be called gsm supplimentary services).I went for Nokia cause their good audio quality.But what make me regret that what my Nokia 1202 can do,that the new sophisticated lumia cant do.Like sms status report on nokia 1202 when swicthed "on" ,and it gets the delivery report its updated the message item in the sent box with a tick mark .That what i expected from my nokia,which should change the color of the bubble on the message thread,but sadly it deosnt do that.It just give "message delivered to 0000000" in a separate thread in my inbox,where that old tiny 1202 shows "message delivered to BOB". In lumia the thing is happening is that a network code were send like " *n*h hello" . where recepient get only the "hello" and sender get a a message "message delivered to 0000000".What happened to nokia programmer ??why are they implementing something so primitive,where they used to put those sophisticated code on those simple 1202's.

    nataliam wrote:
    how can i turn ON nokia е72 sms delivery report?
    @nataliam
    Welcome to the forum!
    Go to Menu > Messaging > Options > scroll down to Settings > Text message > scroll down to Receive report - default value = No
    Happy to have helped forum with a Support Ratio = 42.5

  • JAVAMAIL delivery status

    Hi friends,
    i am getting start to develop the mail client.
    but i got stuck early.
    i know how to get delivery notification...thats cleared
    but how can i get back delivery status of the mail(just delivered | failed | pending...)
    else i want to know, is the given email address is exists or not?
    any suggestion appretiable.....
    thanks.

    this is not very clear...
    do u know where to get the demo....for delivery status ?
    } else if (p.isMimeType("multipart/report")) {
                pr("This is a Multipart Report");
                pr("---------------------------");
                MultipartReport mr = (MultipartReport)p.getContent();
                level++;
                pr("Report Text");
                try {
                    String t = mr.getText();
                    if (t == null)
                        pr("NULL");
                    else if (showStructure)
                        pr("Size: " + t.length());
                    else
                        pr(t);
                } catch (MessagingException ex) {
                    pr(ex.toString());
                pr("Delivery Status");
                DeliveryStatus ds = mr.getDeliveryStatus();
                if (ds == null)
                    pr("NULL");
                else
                    pr(ds.toString());
                MimeMessage rm = mr.getReturnedMessage();
                if (rm != null) {
                    if (rm instanceof MessageHeaders) {
                        pr("Returned Message Headers");
                        pr("---------------------------");
                        level++;
                        dumpEnvelope(rm);
                        level--;
                    } else {
                        pr("Returned Message");
                        pr("---------------------------");
                        level++;
                        dumpPart(rm);
                        level--;
                level--;

  • Delivery Status Notification not updating properly??????

    Hi All,
    Am working on in Java Mail API. My application mainly used for sending automated e-mails to Outlook and I have to update the status of that e-mail whether that e-mail has been sent or not, by using DSN(Delivery Status Notification). Here we are using SMTP exchange server and POP3.
    Below lines explain you how we updating the status of that e-mail status:
    When receipient got automated e-mails from our application, one Delivery Receipt will goes to our Outlook mailbox(which gets only the delivery,read receipt status e-mail from that receipients). After they read that e-mail one Read Receipt will goes to that same mail box. Here we have one Java program which reads that mailbox using POP3. While reading that mailbox we are updating that status of the e-mail using some logics.
    Perfectly I can able to update these DSN status in report in my developement environment(here we are using our own configured exchage server). Am using RFC822 to do this.
    following sample code snippet:
    StringBuffer dsn = new StringBuffer();
    dsn.append("SUCCESS,FAILURE,DELAY ORCPT=rfc822;");
    dsn.append(SrvObj.getFromEmailId().trim());
    props.put("mail.smtp.dsn.notify", dsn);
    session = Session.getDefaultInstance(props, null);But while we are using that same in our live application its not worked,because this entire process goes to another exchange server.Sometimes we are getting delivery and read receipt status for some e-mail ids. But some e-mail ids we are not able to get that status. And we have enabled the delivery and read receipt options in all the outlook e-mail ids. Exchange server is also conf

    Nothing guarantees that you'll get a DSN or MSN.
    The server that ultimately delivers the email might not support DSNs or might be configured not to send them.
    The mail reader used to read the message might not support MSNs or the user might choose not to allow them to be sent.
    Unless you have control over all the mail servers and mail readers being used, you can't depend on getting DSNs or MSNs.

  • Groupwise Delivery Status Message

    Hi
    I hope someone can help me ... The Boss has asked me to setup and delivery notification message on all incoming emails
    I have enabled DSN in the Gwia Properties
    But the message only shows
    The message that you sent was delivered to the following:
    Information about your message:
    With no information please can someone help me
    So the correct info is displayed
    Regards
    Cliff

    This has NOTHING to do with DSN. The Outbound delivery status is
    completely and totally a different feature. DSN is only relevant
    GW originator ===> somewhereelse supporting DSN
    not
    someone else ===> gw
    Since you first reported this issue a year ago, I assume you opened an SR?
    On 8/23/2011 10:56 AM, Clericos wrote:
    >
    > Michael Bell;2130893 Wrote:
    >> On 8/23/2011 12:06 AM, Clericos wrote:
    >>>
    >>> I have absolutely same problem ('Outbound Status Level: Delivered -
    >>> works incorrect' ('Outbound Status Level: Delivered - works
    >> incorrect' (http://forums.novell.com/showthread.php?p=1948852)))
    >>> and did not found any solution yet
    >>>
    >>> What is your OS? Netware?
    >>>
    >>>
    >> DSN is completely dependent on the receiving mail server supporting it
    >> and generating messages/reports. Are you sure that part is working? (eg
    >> the part completely out of your control?)
    >
    > Yes I am sure. Because "the receiving mail server" - is my server :)
    > And it is my server generate "wrong" reports and send them to outgoing.
    >
    >
    > I will try to describe the problem again:
    > 1. I have sent messages from many different mail servers to my mail
    > server and always my server sent "empty" DSN bounce message to sender's
    > server.
    > It ALWAYS looks *'like this'
    > (http://img27.imageshack.us/i/59676923.gif/)*
    >
    > 2. I catch one outgoing bounce message in "Delayed Message Queue"
    > (folder: gwia\DEFER\ ):
    >
    > Code:
    > --------------------
    > Message-Id:<sb7c37e1>
    > X-Mailer: Novell GroupWise Internet Agent 8.0.1
    > Date: Wed, 17 Feb 2010 18:39:29 +0300
    > From: [email protected]
    > To: [email protected]
    > Subject: Message Status - Delivered
    > Mime-Version: 1.0
    > Content-Type: multipart/mixed; boundary="=__PartF3D9C9A1.0__="
    >
    > This is a MIME message. If you are reading this text, you may want to
    > consider changing to a mail reader or gateway that understands how to
    > properly handle MIME multipart messages.
    >
    > --=__PartF3D9C9A1.0__=
    > Content-Type: text/plain; charset=UTF-8
    > Content-Transfer-Encoding: quoted-printable
    > Content-Disposition: inline
    >
    >
    > The message that you sent was delivered to the following:
    >
    >
    >
    >
    >
    > Information about your message:
    >
    > --=__PartF3D9C9A1.0__=--
    > .
    > QUIT
    > --------------------
    >
    >
    > and the message did not contain any "dynamic" data.
    >
    > I know some people who have same problem, but it is not important for
    > them because they do not want to enable DSN. It looks like many server
    > have this problem, but only few people know about this problem because
    > "Outbound Status Level" is "Undelivered" by default (if I am not
    > mistaken).
    >
    > PS perhaps this problem is only on Netware servers.
    >
    >

Maybe you are looking for