Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Java Program Sends out Email to Bad Email Address -- No 'mailer daemon' Response Received

Posted on 2013-02-03
3
Medium Priority
?
460 Views
Last Modified: 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?

Thank you.
0
Comment
Question by:david_m_jacobson
  • 2
3 Comments
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 38848991
I suspect you're not going to get that because the message saying that email is bad is not part of the sending process.  That is especially true if the domain exists because the NDR (Non Delivery Report) comes from the remote server, not the local one.  The only way you would get the NDR is to send from a valid email account so that the message would be returned there.
0
 

Author Comment

by:david_m_jacobson
ID: 38849067
Pity.  OK.  Thanks for the response.
0
 

Author Comment

by:david_m_jacobson
ID: 38849646
I need to correct what I said here.

I just found that, indeed, the mailer daemon WAS sending a response.  Gmail had put that email into the Spam folder with a warning that it appeared that that email was a response to an email that I hadn't sent.

Very interesting, and very clever of Gmail to have marked it so.

In any case, I was able to indicate that it was not Spam and thereafter, such an email from the mailer daemon IS getting through to me.

Thank you again for your interest in this issue.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of Google's most recent algorithm changes affecting local searches is entitled "The Pigeon Update." This update has dramatically enhanced search inquires for the keyword "Yelp." Google searches with the word "Yelp" included will now yield Yelp a…
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

879 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question