473,386 Members | 1,962 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to process and categorize bounced email?

Hello All,

I am exploring and developing a plan for a C# web app or windows app to
handle bounced emails.

Basically, I need to develop a system where I weed out bad addresses in our
db...but after reading the articles listed below, I see that there are
various responses the server will respond with if the send fails. I would
like to parse the message, and categorize the address accordingly.

Can anyone point me in the right direction? It would be nice to have it be
web based, but it could be a Windows app as well.

I have found two useful articles on the topic so far:

The first is very interesting but in the end I discovered that the code
requires the use of some purchased software. It does however give a good
overall explanation of how I could approach my objective.
http://www.codeproject.com/useritems...dress_list.asp

The second article is also good and exemplifies how to use the .NET Sockets
class but I can't seem to get it to compile... is it supposed to be for a
web app? I am not even sure...
http://www.webonweboff.com/tips/asp/email.aspx
Thanks in Advance


Aug 4 '06 #1
1 7110
I had written and open sourced some code a while ago that may be of some
assistance to you ...

http://sourceforge.com/projects/no-cdo it includes some code to verify email
addresses (only works with some SMTP servers but some will allow it to
actually verify the existence of a given account). It also smart enough to
actually look at the "foo.com" and validate that the domain has an mxrecord.
So an email address of fo*@sefahaljksdfgshdah.com will fail where as it
would pass the regexp validation.

Beyond the sending side you will need to actually receive the bounce emails
and get them from the mailbox.

Cheers,

Greg Young
MVP - C#
http://codebetter.com/blogs/gregyoung
"Frank" <fk******@pfmail.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Hello All,

I am exploring and developing a plan for a C# web app or windows app to
handle bounced emails.

Basically, I need to develop a system where I weed out bad addresses in
our db...but after reading the articles listed below, I see that there
are various responses the server will respond with if the send fails. I
would like to parse the message, and categorize the address accordingly.

Can anyone point me in the right direction? It would be nice to have it be
web based, but it could be a Windows app as well.

I have found two useful articles on the topic so far:

The first is very interesting but in the end I discovered that the code
requires the use of some purchased software. It does however give a good
overall explanation of how I could approach my objective.
http://www.codeproject.com/useritems...dress_list.asp

The second article is also good and exemplifies how to use the .NET
Sockets class but I can't seem to get it to compile... is it supposed to
be for a web app? I am not even sure...
http://www.webonweboff.com/tips/asp/email.aspx
Thanks in Advance


Aug 4 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Monty | last post by:
I've written a simple e-newsletter app using the PHP mail() command. I want to be able to deal with bounce-backs if a member's email is no longer working or is using an old account. I'm using a...
2
by: Atanu | last post by:
Im using System.Web.Mail to send emails to the users. Now i want to receive the bounced mails in a different email id from that of the from(sender) id. Im doing something like this... ...
3
by: Jishnu | last post by:
Hi ASP Gurus out there, I have question. I am wondering if any one can guide me towards a script that can handle bounced emails from a newsletter campaign. I am not interested in .Net solution....
2
by: DaveF | last post by:
I have an email program in asp.net. Is there a way to check email for bounced email? -- dave
2
by: SharpSmith | last post by:
hi all i have a very specific question regarding emails sending and googling doesn't help me is a way exists to send email using .NET framework (System.Web.Mail or something else) and have the...
6
by: technocrat | last post by:
i have a process thats in roll back state..i ts going on forever..i need to kill it and would like to restart it with some changes.... if not atleast i need to know the status of the rollback to...
2
by: Ripendra007 | last post by:
hi all, can any body tell me how should i come to know that my e mail tha i hav sent is bounced and how to handles or update my database that ..this user or email Id is bounced..I have to do all this...
1
by: Stuart Harden | last post by:
We use Exchange 2007, but asp.net programs we have written to send out the mail. Is there an asp.net control to request the bounce backs be to a specific address? We can of course do this on...
5
by: muppetjones | last post by:
I'm really new to the whole networking side of things, so I don't know the backend very well. I wrote a series of PHP/AJAX scripts to allow a user to create a login account, but apparently my script...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.