I am able to send a mail using javax.mail API. But the problem here is on an average for each mail it taking around 4.3 seconds to send to destination. If I am sending a 20 mails sequentially, it takes around 86.599 seconds. For my requirement this approach will not work. I am looking for an approach which can send
Tag: email
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