Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET SMTP
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 Smile | :)
Posted 11-Dec-12 16:13pm
Rate this: bad
good
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,
OI
  Permalink  
Rate this: bad
good
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.
 
—SA
  Permalink  
Comments
SoMad at 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 at 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)

  Print Answers RSS
0 OriginalGriff 7,205
1 DamithSL 5,114
2 Maciej Los 4,866
3 Sergey Alexandrovich Kryukov 4,747
4 Kornfeld Eliyahu Peter 4,474


Advertise | Privacy | Mobile
Web01 | 2.8.141223.1 | Last Updated 13 Dec 2012
Copyright © CodeProject, 1999-2014
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