473,406 Members | 2,352 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,406 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 7113
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.