dcsimg
How I can get the SMTP Error Code from a message that was not sucessfully delivered ?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Osvaldo_Junior
Posted On:   Tuesday, September 17, 2002 06:58 AM

I'm developer an aplication that uses Java Mail and
sends email, but I need to get the error code if this

email was not sucessfully delivered, use
mail.smtp.dsn.notify to destination return an email in case
of failure, but I donĀ“t know how get this error code to
track. Thanks

Re: How I can get the SMTP Error Code from a message that was not sucessfully delivered ?

Posted By:   Christopher_Koenigsberg  
Posted On:   Monday, September 23, 2002 02:06 PM

A DSN (Delivery Status Notification) is returned in a new email message, by the server which encounters the problem, and it is sent to the address that is specified in the DSN parameters of the ESMTP envelope when you send the outgoing message in the first place.



By default the DSN email message will be sent to the envelope sender (SMTP MAIL FROM) of your message.



You might get more DSN's up to several days after your initial attempt to send the message (if a server is still re-trying to deliver it for you, somewhere on down the line), so you better be prepared to wait that long (several days), checking the mailbox for DSN's.

About | Sitemap | Contact