Forums Register Login

Email delivery confirmation

+Pie Number of slices to send: Send
Hi

Does someone know of a way to get email delivery confirmation status when email is send using Java mail API ?

Thanks
+Pie Number of slices to send: Send
Check this thread.
+Pie Number of slices to send: Send
Thanks.

One alternate option is to create log entry of email send attempt and have bcc to a designated id. Matching of data can be done to have delivery status. May not be advisable if high load system as this will double the number of emails being sent
+Pie Number of slices to send: Send
Moving to a more suitable forum...

Apreet Singh wrote:
One alternate option is to create log entry of email send attempt and have bcc to a designated id. Matching of data can be done to have delivery status. May not be advisable if high load system as this will double the number of emails being sent


Not really. Receipt on the BCC id would not necessarily ensure receipt on the original ID.

One hackish way is to include a 0px image in the body, which is provided by some servlet on your server. The call to the servlet would include the mail ID as a parameter. However, this approach would sort of ensure a read receipt. It might be noted though that the mail can be delivered but not read.
+Pie Number of slices to send: Send
 

Maneesh Godbole wrote:One hackish way is to include a 0px image in the body, which is provided by some servlet on your server. The call to the servlet would include the mail ID as a parameter. However, this approach would sort of ensure a read receipt.


Not really. Many email clients by default (or by user choice) do not load images.

There is no reliable way to get a delivery notification. Even email systems that have such a feature baked in (like Outlook/Exchange) can be tweaked by knowledgeable users not to send one. Plus, asking for delivery or read notifications has the potential to aggravate users, and may thus not be such a good idea.
+Pie Number of slices to send: Send
 

Ulf Dittmer wrote:Not really. Many email clients by default (or by user choice) do not load images.


Ah! Yes I missed out on that one. Thanks Ulf.
+Pie Number of slices to send: Send
 

Maneesh Godbole wrote:Moving to a more suitable forum...

Apreet Singh wrote:
One alternate option is to create log entry of email send attempt and have bcc to a designated id. Matching of data can be done to have delivery status. May not be advisable if high load system as this will double the number of emails being sent


Not really. Receipt on the BCC id would not necessarily ensure receipt on the original ID.

One hackish way is to include a 0px image in the body, which is provided by some servlet on your server. The call to the servlet would include the mail ID as a parameter. However, this approach would sort of ensure a read receipt. It might be noted though that the mail can be delivered but not read.



Having bcc may not ensure reciept on original id (case in which id may not exist) , but atleast we can know that at that time our
email server was not down and was actively sending emails.
+Pie Number of slices to send: Send
 

Apreet Singh wrote:
Having bcc may not ensure reciept on original id (case in which id may not exist) , but atleast we can know that at that time our
email server was not down and was actively sending emails.


You don't need BCC for that one. You can always process the MessagingException in Transport@send()
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 7070 times.
Similar Threads
Delivery Status Notification in java mail api
Problem with Java Mail
How to track Email Messages
Sending an Email with JavaMail
Problem with java mail
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 11:41:03.