Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

847549Mar 16 2011 — edited Feb 20 2012
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 19 2012
Added on Mar 16 2011
24 comments
1,563 views