Handling Bounced Emails - 'Errors-To'
I intend to use JavaMail to send emails. If there is an invalid address, the mail bounces back. Normally the mails bounce back to SMTP from but there is something called 'Errors-To' field also which if present causes all bounced emails to be sent to this address.
Does JavaMail also support this? pl. help
[334 byte] By [
gill01] at [2007-9-26 8:19:33]

Actually, it makes perfect sense. The 'Error-To' header would be sent to the server by the client, telling the server where to send errors (i.e. recipient not found on remote end). SMTP is a client-server protocol, not a set of server specifications.Thanks,-Derek
Where did you find out about this 'Errors-To' thing ? Because I'v searched in the rfc documents for SMTP (rfc 821 and rfc 2821), but I couldn't find any line in them specifying about 'Errors-To'.
Anyway, how I contact you in private ? I would like to discuss further with you about bounced emails management because I currently are working on a project that deals with this stuff. Mine is at firoux@yahoo.com.
Thanks.
Hi,
I read with keen interest about your project on handling bounced emails. I am very interested as I have an application that currently sends out emails in bulk. However, I do not not at all how I can track invalid email addresses that bounced back. Could you help me by shedding some information and your valuable experiences?
Many many thanks in advance!
Hi ,
I had a problem while sending bulk emails that if some ids are invalid, it does not send emails to the valid ids also. I am using Transport's sendMessage() and not send(). What's going wrong?
And regarding the invalid-ids, problem you specified, I was wondering if you can catch SendFailedException and then use it's following methods:
getInvalidAddressea9(), getvalidSentAddresses() and getValidUnsentAddresses.
-ks143
ks143 at 2007-7-1 18:52:06 >

Jeff, thanks for looking into it. i ran some tests using this header field and its possible the mail server may need to be configured to interpret the header. the JavaMail API is doing its job in getting the header on the message, but the bounced email keeps going back to the from address. i'll look into the mail server configuration and let you know if i find anything.