473,396 Members | 2,013 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,396 software developers and data experts.

Reading Email Bodies

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:

bl******@blahblah.com 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
Nov 6 '06 #1
0 1120

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

Similar topics

6
by: Jeffrey Silverman | last post by:
Hi, all. Sorry, first off, for the kidna weird selection of crossposted groups, but this question touches on aspects of discussion in each of the groups. So I have a group of around 500 email...
1
by: kyrbi | last post by:
hi, using flash and php script I try to send mail from my website (linux hosting) The script is working but if I enable the marked lines (//....) the script doesn't want to send mail ..... ...
1
by: chuck amadi | last post by:
Hi I have managed to print the output of the get_payload to screen but I need to write to a file as I only require the email body messages from the mailbox.My script using the fp.readlines()...
0
by: chuck amadi | last post by:
Hi I have managed to print the output of the get_payload to screen but I need to write to a file as I only require the email body messages from the mailbox.My script using the fp.readlines()...
0
by: Chuck Amadi | last post by:
fp = file("/home/chuck/pythonScript/testbox") mbox = mailbox.UnixMailbox(fp, email.message_from_file) # list of body messages. bodies = # mail is the file object for mail in mbox: print...
1
by: Richard Browne | last post by:
I have been developing a program that takes a database of email bodies and then displays them to the user in a similar way to Outlook Express would. The problem I'm having is showing only the...
1
by: Greg | last post by:
Hi, In a C++/CLR Windows Forms app I notice that there is only a header and no ..cpp for the form. Also event handler bodies are added by the IDE right to the header. What is the philosophy...
10
by: John Goche | last post by:
Hello, page 202 of Symbian OS Explained by Jo Stichbury states "All virtual functions, public, protected or private, should be exported" then page 203 states "In the rare cases where a...
8
by: Yakov | last post by:
I'd like a tool that performed inlining of function bodies of which do not appear in the .h file. Really. gcc on Linux. Yakov
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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: 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
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
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...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.