Java Program Sends out Email to Bad Email Address -- No 'mailer daemon' Response Received
Posted on 2013-02-03
I have written a Java program using the Java Mail functionality. It sends out a set of emails to various email addresses.
I intentionally tested by putting in a fictitious email address, expecting to receive a response from the mailer daemon telling me that the email could not be delivered; but there was no such response.
I would not have thought that in this regard there would be a distinction between an email sent by Java code and an email sent, say, from my Outlook application. Yet, there clearly is.
Can someone explain that and, hopefully, give me a way to insure that the mailer daemon will send me a response in the event of a bad address?