Click here to Skip to main content
15,890,897 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
See more:
Greeting peers,
I am wondering if it is possible to detect when a sent email is undeliverable.

more details:

my solution is using the .net standard framework to send emails via smtp protocol.
i can determine if there is any problems with the mail going out or not, but i can't tell if the email can actually be delivered.

do you have any logic for how one could determine if the email address being targeted is in fact a deliverable account?

thanks :)
Posted

Well I agree to Sergey that doing something such like that is not easy and you cannot be sure whether it is send or not. I would rather not to go that way you asked but if you really do need to:

Here is an approach that you might want to try:

You can create an httphandler for your website images. If you send an HTML message which includes at least 1 image, then you could embed querystring data to the end of that image. This could even be something like a 1x1 transparent image. When the user reads the email, this sends the request to the server to fetch the image data, and in turn, you could capture that request and denote that the message was read.

This is not bulletproof however, because most email clients block images by default unless the user specifies they would like to view images in the email.

A link that you might want to read:
So you'd like to send some email through code[^]

Good luck,
OI
 
Share this answer
 
No, unfortunately, there is no a way.

Some system can optionally send you the confirmation or a failure message on certain condition, but if you did not get any message, it does not tell you anything: it could be delivered or not. Such confirmation of failure messages are no different from regular messages; one of the conditions is that there is no a e-mail address, but there is a mail delivery agent on the domain you addressed which can send you the failure message; such options are totally decided by the owner/administrator of the site.

—SA
 
Share this answer
 
Comments
SoMad 13-Dec-12 19:48pm    
I also think we would have even more persistent spamming and phishing in our inboxes if there was a sure way to verify an email address.

Soren Madsen
Sergey Alexandrovich Kryukov 13-Dec-12 20:25pm    
Oh yes, for sure. Not only mail system and standards are very old, created well before spamming, but also there is a lot of sloppiness in them.
Thank you, Soren.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900