473,699 Members | 2,715 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7144
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*@sefahaljksd fgshdah.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******@pfmai l.comwrote in message
news:%2******** ********@TK2MSF TNGP04.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
12448
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 Red Hat Linux server with Sendmail and Apache. I've seen mention of using Procmail or filtering mail to a certain account through a PHP script, but, can't find detailed instructions on how this is done. Can anyone let me know or point me toward...
2
3069
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... MailMessage mail=new MailMessage(); mail.Headers.Add("Return-Path","id@domain.com"); but the bounced mails are coming back to from id. Initially i thought smtp server is overwritng return-path informations with
3
2392
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. The mail server is Exchange 2003 if that helps. Right now clueless about tracking of bounced emails Thanks
2
2699
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
1883
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 "from" address to be X but if the message is bounced from not existing address or whatever, it will be returned to adress Y ? i tried to work by approach described in that article :
6
6018
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 estimate how longer it migt take...no use with this..but just for my info.... killing roll back process would be ideall...if not recommended what are the risks that might come up due to rollback...becuase i badly need to kill this and start...
2
1638
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 in the asp.net using C# ....by the way i could find that the mail i sent is whether red or not but i dont hav idea how to find the bounced mail..........please give idead about this things....thank you all in advanced ..please reply soon its very...
1
1792
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 the client end; it would be "simple" enough to have the logged in "from" person set a filter on their incoming mail software which would forward the bounce backs to the desired address, but, I have been asked if I can do this from an administrative...
5
2569
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 is doing much much more than I imagined as I received an email from my admin this morning: I think a core dump means my program had a fatal error, and I know my program is supposed to email me when there is an error. Granted, I was debugging...
0
8685
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9172
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9032
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8908
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8880
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6532
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3054
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.