Link to home
Start Free TrialLog in
Avatar of siancell
siancell

asked on

SMTP listener(constant contact)

What would be the best approach in order to build something similar to Constant Contact. As in when I send an email using smtp in C#, I want to be able to monitor if the email's recipient is not valid(email was not delivered because the recipient's email does not exist). How much work would this be and what other things(third party software/services) would be required in order to accomplish this?
Avatar of dnilson
dnilson
Flag of United States of America image

Good luck.  If you send it to MY server, you will NEVER know if the user exisits or not, or I lose my job. .....
Avatar of giltjr
E-mail servers can be configured to either send NDRs or not send them.  If an e-mail server is configured to send them, then you don't need a special program to tell as you will receive an e-mail or a reject.


Some e-mail servers, such as dnilson's, will not send NDR and will accept any e-mail to any address and just silently drop invalid e-mail.  

There is no magic way you can write a program to tell if an e-mail address is not valid if the receiving e-mail is configured to accept any e-mail.
Avatar of siancell
siancell

ASKER

Well, I have seen a preview of constant contact's interface, they have statistics of if someone sends out 10 emails, it would display how many of them were delivered and how many were not. All is to send out an email and find out if it was delivered or not, there has to be a way of doing this because if these email marketing services are doing it(by the way this is not the purpose of my program). So far I have not found anyway of this this when you send out the email through code. I have stumbled on to having to read mail server logs and/or monitoring the emails in which is returned saying either the client's email does not exist or whatever reason, however I have yet to find a reliable answer.
SOLUTION
Avatar of giltjr
giltjr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
giltjr: "then it waits for NDR's and compares that to the 'database'"

This is what I am interested in monitoring, my server is in fact configured to send the NDRs. I have tested this with multiple bogus emails and I do receive a NDR for each of them, so my only problem is how "compare" these NDR against database entries. I'm not sure what direction I have to take in order to send these NDR's into code, in order words, if I have a console app(windows), what do I have to do in order to "read" the NDR when it comes in through lets say outlook.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ithink his chosen by sevsolution (MAPI to Outlook) was suggested by several of the experts