How to track Delivery and Read Receipts, to update the e-mail status?

Hi,
I got bit confused, How can I came to know that my e-mail has been successfully sent or not without opening my inbox.
Am sending 50,000 mails per day by using java mail sending program, while sending I am enabled Delivery and Read receipt and I saved message-id in database and I got that receipt back to my inbox.
Then I am reading my Inbox using another java program based on message-id concept, And also I need to parse the body of the mail to update the reason if any message failed.
Here my Inbox received more than 1 lac mails per day as receipts. Because am sending 50,000 mails, So, I got 2 receipt mails for 1 mail, totally 50,000*2=1lac mails in Inbox. My problem is, my reading Inbox java program not able read all 1lac mails at one day. It just reading 5,000 mails per day. When my next day mail sending process started, again i am getting another 1 lac receipts.
Since I am not able to read and delete the receipts completely, mail counts in my inbox getting accumulated. So, I got stuck, How can I do this?
If anybody have any other ideas please share with me.
Already I surfed on net lot, but I can`t find solution for this concept.
Thanks in advance.

Hi EJP,
step 2: Taking total inbox length using message.length
The message count is available via Folder.getMessageCount*().//ok I will try this one.*
step 3: In for loop, for(i=0; i < = n; i+){+ //--here we are getting mails one by one
That should be i < n, not i <= n. *//here I was wrongly specified, I used i<n only.*
step 5: In that mail body we are searching our own unique keyword(which we set for our unique mail reference)
Searching how?
In order to find the keyword, we are getting entire text/plain mail body using below method,
//To get body plain/text body part start here
     public static void getTextPlainBodyPart(Part p) throws Exception {
          if (p.isMimeType("text/plain")) {
               if (!(showStructure) && !(saveAttachments)){
                   lstr = (String)p.getContent();
          }else if (p.isMimeType("multipart/*")) {
             Multipart mp = (Multipart)p.getContent();
             level++;
              int count = mp.getCount();
              for (int i = 0; i < count; i++){
             getTextPlainBodyPart(mp.getBodyPart(i));
              level--;
//To get body plain/text body part end hereAbove method will return entire body of the mail in one string variable, Eg: String mailBody;(*mailBody variable contains entire body)*
Then using mailBody variable we are searching our own keyword(which we set for our unique mail reference while sending mail) using below technique,
if(lstr.indexOf("!$*#*$") != -1 && lstr.lastIndexOf("$*#*$!") != -1){
KeyWord = lstr.substring(lstr.indexOf("!$*#*$")+3,lstr.lastIndexOf("$*#*$!"));
//to get reason alone
if(lstr.contains("Reason:")){
     Pattern p = Pattern.compile("Reason:\\s([^\\n])*");
Matcher m = p.matcher(lstr);
boolean result = m.find();
     while(result) {
        reason = m.group();
         result = m.find();
//System.out.println("Reason:>>>>"+reason);
}else{
     reason = "";
}After getting that keyword in KeyWord variable,
then we are updating our database using that KeyWord,(here we are using KeyWord variable in where condition in update query)
Note:_ KeyWord is nothing but, we were stored all our unique keyword against every mails while sending.So, If when get that keyword while reading the receipts,then we can update our table using that same keyword.
guide how can I do this effieciently. And if you any other new concept please share with me.
Thanks in advance..
Edited by: EJP on 17/03/2011 16:54: added code tags. Please use them. Code is 100% illegible otherwise.

Similar Messages

  • Generare e-mail status by tracking Delivery and Read Receipt?Challenge

    Hi,
    I got bit confused, How can I came to know that my e-mail has been successfully sent or not without opening my inbox.
    Am sending 50,000 mails per day by using java mail sending program, while sending I am enabled Delivery and Read receipt and I saved message-id in database and I got that receipt back to my inbox.
    Then I am reading my Inbox using another java program based on message-id concept, And also I need to parse the body of the mail to update the reason if any message failed.
    Here my Inbox received more than 1 lac mails per day as receipts. Because am sending 50,000 mails, So, I got 2 receipt mails for 1 mail, totally 50,000*2=1lac mails in Inbox. My problem is, my reading Inbox java program not able read all 1lac mails at one day. It just reading 5,000 mails per day. When my next day mail sending process started, again i am getting another 1 lac receipts.
    Since I am not able to read and delete the receipts completely, mail counts in my inbox getting accumulated. So, I got stuck, How can I do this?
    If anybody have any other ideas please share with me.
    Already I surfed on net lot, but I can`t find solution for this concept.
    Thanks in advance.

    I think the big question is why can you not read and remove the mail more quickly? What limits you to reading only 5,000 messages per day?
    Also, is this about Oracle Communications Messaging Exchange Server (formerly known as Sun Java Messaging Server)?
    If so, please include the output from the "imsimta version" command.
    If not, you probably should ask in the JavaMail forum: JavaMail

  • Delivery and read receipts from mail - how do i do it?

    delivery and read receipts from mail - how do i do it? i used to do this on pc from outlook..... just new at this stuff... thanks

    Hmm, had a bit of a look round but it doesn't look like it's particularly straightforward, esp if you want to turn it on or off on a per mail basis:
    http://email.about.com/od/macosxmailtips/qt/et_request_recp.htm

  • Prohibit delivery- and read- receipts

    Does anyone know how you can prohibit Mail and Entourage from sending delivery- and read- receipts.
    I could only find answers to the question how you can request them yourself, what is not an issue for me.

    Mail doesn't send receipts for delivered nor read mail. "Read" receipts aren't supported in any Internet email client I know of, only in proprietary messaging systems such as Outlook/Exchange.
    Entourage to the best of my knowledge by default doesn't return delivery receipts either, though I might have missed it in my copy. It appears that the only way to get it to do it is by manually adding special headers.
    So if you don't want to be returning receipts, you don't need to worry.
    Regards.

  • The Sender unable to receive delivery and read receipts

    The Sender unable to receive delivery and read receipts through ironport (outbound).
    How does the delivery and read receipts works in ironport?
    However, The Sender able to receive delivery and read receipts without ironport (outbound).
    Please help!
    Alex Ling

    Hi Alex,
    At this time, the IronPort does not support positive DSNs ( read recipiects ). Refer to the following Knowledge Base article:
    http://tinyurl.com/yo78ns
    -whardison

  • Notification of Delivery and Read Receipts

    Hi All,
    Does Skype offer the functionality of Delivery Receipts and Read Receipts when we send messages to our friends. I could n't locate this feature on my phone or laptop.

    Hi, Dramitgoel, and welcome to the Community,
    Please check out this new blog article!
    http://blogs.skype.com/2014/02/13/skypes-enhanced-chat-experience/
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • PIN Delivery and Read confirmati​ons

    Hello,
    Is it possible to disable the delivery and read receipt features of PIN's?  I know I can do this for emails but not sure how to for PIN's.
    Thank you!

    That is not possible.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I use Mac Mail. How do I set up an email to get a delivery or read receipt?

    I use Mac Mail. How do I set up an email to get a delivery or read receipt? In other words, I want to receive automated confirmation that the email was either delivered, opened, or both -- which you can do in Outlook. I was not able to find this option in the Mail menu.

    Unfortunately OS X Mail does not offer this feature as far as I know. With Apple failing to offer that feature up until now I highly doubt it'll happen in the future :/

  • Schedule for del stock display even after delivery and goods receipt

    Hi, Please suggest me for below scenario...
    I have a scenario where we does STO and then delivery against outbound and performs goods receipt. in MMBE the stock is still displaying under schedule for delivery and also in MD04 even the stock is deducted from supplying plant and performed goods receipt at receiving plant..also stock is displaying at receiving plant..why the stock is still displaying in stock for del at sending plant..in general what happens when we does goods receipt against outbound delivery or when we does against STO?

    ok sir ;
    No i don't talke abouat STP i don't have any transit stock it's a simpl sales based on global purchas
    -first with me21n i created global purchas order
    -the sales will be picked from this purchas .
    -delivery is assigned automatically to this purchas order  with user exit.
    -with vl02n in goods issue steps there is tow operations ( stock mvt 101 in purchas assignement and a normal 601 for delivery )

  • Difference between inbound delivery and Goods Receipt

    Can any one explain difference between inbound delivery and goods Receipt??

    Hi dear,
    Inbound delivery is one confirmation used to indicate the expected goods receipts in advance, so that the related process partners like warehouse personnel , planning personnel can utilise this data for initiation of actions and planning. Also , we can make this confirmation relevant to Planning in the customisation, to enhance the performance.
    In general , we need confirmations only as a kind of assurance/information , in absence of the goods.
    But if the goods are received physically , obviously we do not need any confirmations , we would perform the goods receipt .
    When working with Inbound delivery , the goods receipt is done with respect to specific inbound delivery( though not compulsary to do so) , so that the integration done in the system works to the advantage of the users.

  • Tracking sales and creating receipts

    My home business needs to track sales and print receipts for customers. Can Numbers do that? If yes, how do I set it up? If not, what's a good alternative?

    Numbers can do that. How to set it up is too broad a question for this forum because it would take a booklet to describe it and the set up would be different for every business. Basically you'd need a table to list the sales and separate tables for the invoices. (If Page could merge Numbers data, it would be a lot easier.) You might also need separate tables for each customer, it all depends on what your invoices cover.
    There is an invoice template built-in to Numbers if you look. (Do you have the program or the 30-day trial? If not, get it.)
    Go to iworkcommunity.com to find some invoice templates or go to the Microsoft Excel website and borrow some excel invoices.
    Try Filemaker's Bento for a database solution, but you'll need Leopard to use it.
    Try a program devoted to invoicing, like MYOB Accounting. If you go to the Downloads section of the Apple website and search for 'invoice' you'll find other programs.
    good luck
    Terry

  • Delivery Confirmation & Read Receipts

    Firstly, I am very new to Mac.
    I am used to Microsoft Outlook, particularly the 'Delivery Confirmation' and 'Read Receipt' options.
    Does Mail have these or similar options? I am sure they are right in front of me and I just can't seem to find them - PC to Mac blindness...
    Any assistance would be appreciated.
    iMac 2.16 GHz Intel Core 2 Duo   Mac OS X (10.4.8)  

    Not blind, apparently
    1.8 SP G5/iMac G4 FP/PB G3 Pismo   Mac OS X (10.4.8)   XLR8 G4 Upgrade for Pismo

  • How to Track DDL and DML Operations happening in Backend into Log Files....

    Hi I have one requirement for Tracking the DDL And DML Operation happening in Backend once the user Inserts or Updates any Table.How to Implement the same can anyone proviode the code for the same.
    Ex: I have multiple tables in my database if any user fires the DDL or DML it should make entry in the Log file as
    Name of the Table Operation Timestamp
    X Insert DD-MM-YYYY HH24:MM:SS
    Y Update DD-MM-YYYY HH24:MM:SS
    Z Delete DD-MM-YYYY HH24:MM:SS
    L Select DD-MM-YYYY HH24:MM:SS
    Is it Possible to Develop it through Procedure,Function or Package,please give me Idea,,,,,

    Please do not post same question in multiple forum. How to Track DDL and DML Operations happening in Backend into Log Files....
    What's wrong with the answers posted in the above forum ? Do you go through the "AUDIT" option as suggested in the above post by various members ?

  • Mail how do i set a read receipt for messages I send

    mail how do i set a read receipt for messages I send

    Hi Sunny
    There's no built-in option, and the workaround is rather complex. I would advise against it, since "read receipts" are not a standard part of the email protocol, and most email clients cannot return receipts or have it turned off anyway.
    Matt

  • Delivery and Goods Receipt without goods value

    Hi!
    this is my first post in this forum, hi everybody
    Now the question:
    My goal: warehouse manager shouldn't see goods value (prices) of purchased material and final products (sold goods).
    That means I would like to remove all value data (Unit Price, Discount%, Total etc.) from the documents Delivery and Goods Receipt. Is it possible? The values should be then added by accountancy (any kind of connection between warehouse documents and journal entry?).
    Is it possible to split the value data from quantity data (SAP BO 2007A)?
    Thank you for any suggestion!
    Aleksandra

    You may try form setting to hide all those columns for this user.
    Thanks,
    Gordon

Maybe you are looking for