Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2013-02-03
3
Medium Priority
?
456 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

Prime numbers are natural numbers greater than 1 that have only two divisors (the number itself and 1). By “divisible” we mean dividend % divisor = 0 (% indicates MODULAR. It gives the reminder of a division operation). We’ll follow multiple approac…
When there is a disconnect between the intentions of their creator and the recipient, when algorithms go awry, they can have disastrous consequences.
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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

721 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