J
James
Using XML and the HttpWebRequest object, I'm easily able to authenticate an
exchange user behind the scenes and retrieve a list of emails and the
corresponding fields. For whatever sets of reasons, undeliverable email has
something funky going on with it and I can't read the actual body of the
email.
What I'm really trying to do is implement a tracking system that will track:
Number of emails sent out (easy)
Number of emails received by the end users - Calculated
Number of emails bounced - Herein lies the problem
Number of emails opened (using an image with a certain extension, not a
problem)
There are various types of bouncebacks, and I'd really like to be able to
parse the body of the emails that come back like this:
Your message did not reach some or all of the intended recipients.
Subject: Please ignore - Bounceback
Sent: 11/2/2006 11:25 AM
The following recipient(s) could not be reached:
(e-mail address removed) on 11/2/2006 11:25 AM
The e-mail account does not exist at the organization this
message was sent to. Check the e-mail address, or contact the recipient
directly to find out the correct address.
<whatever.blahblah.com #5.1.1>
"Standard" emails I can simply access the e:htmldescription field and I'm
good to go. This doesn't seem to work for these pre-formatted emails. Is
there any way to get a handle on these, or a good primer on how to manage
this entire task? I can determine if they're of the REPORT.IPM.Note.NDR,
but that doesn't get me the actual error number which would be useful.
There are also different types of bouncebacks from destination servers that
I have no control over the formatting...which I'm open to suggestions on how
to handle.
Any help would be immensely appreciated!
Thanks,
James
exchange user behind the scenes and retrieve a list of emails and the
corresponding fields. For whatever sets of reasons, undeliverable email has
something funky going on with it and I can't read the actual body of the
email.
What I'm really trying to do is implement a tracking system that will track:
Number of emails sent out (easy)
Number of emails received by the end users - Calculated
Number of emails bounced - Herein lies the problem
Number of emails opened (using an image with a certain extension, not a
problem)
There are various types of bouncebacks, and I'd really like to be able to
parse the body of the emails that come back like this:
Your message did not reach some or all of the intended recipients.
Subject: Please ignore - Bounceback
Sent: 11/2/2006 11:25 AM
The following recipient(s) could not be reached:
(e-mail address removed) on 11/2/2006 11:25 AM
The e-mail account does not exist at the organization this
message was sent to. Check the e-mail address, or contact the recipient
directly to find out the correct address.
<whatever.blahblah.com #5.1.1>
"Standard" emails I can simply access the e:htmldescription field and I'm
good to go. This doesn't seem to work for these pre-formatted emails. Is
there any way to get a handle on these, or a good primer on how to manage
this entire task? I can determine if they're of the REPORT.IPM.Note.NDR,
but that doesn't get me the actual error number which would be useful.
There are also different types of bouncebacks from destination servers that
I have no control over the formatting...which I'm open to suggestions on how
to handle.
Any help would be immensely appreciated!
Thanks,
James