I found the way to redirect my bounced emails using my own smtp server. Now, as per the requirement, I should be able to read the bounced emails using my program, like reason for bouncing, receiver’s email address, email content and etc. Stackoverflow suggested that dsn.jar might be helpful. I saw it has some methods. But I don’t find any
Tag: email-bounces
Is it possible to specify multiple email addresses to receive bounce messages?
We’re using JavaMail API to send emails from our application. To handle bounce back messages (Non delivery report), we’re redirecting bounce backs to a different email address using the following code: In our case, we want bounce backs to be redirected to multiple email addresses. In fact, we even tried few other options like providing a list of addresses separated
Setting the Bounce Address in Apache Commons Mail
Using the Apache Commons to send email there is the following code. But the bounce will not work. It sends the bounce to the party that authenticated the message, which in this example is SMTP_AUTH_USER. So How can I get it to bounce properly? Answer Did you check with a packet sniffer what is actually going over the wire? I