Click here to Skip to main content
12,998,712 members (133,721 online)
Rate this:
Please Sign up or sign in to vote.
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 11-Dec-12 15:13pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 4

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,
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170622.1 | Last Updated 13 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100