473,788 Members | 2,652 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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******@blahbl ah.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.blahb lah.com #5.1.1>

"Standard" emails I can simply access the e:htmldescripti on 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...wh ich I'm open to suggestions on how
to handle.

Any help would be immensely appreciated!

Thanks,
James
Nov 6 '06 #1
0 1137

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

Similar topics

6
4168
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 addresses to which I would like to send a mass email occasionally. The group will never be much larger than 500 email addresses and will occasionally be about half that size. I have written a simple HTML interface and PHP backend to process the...
1
1683
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 ..... any idea? name, subject, message & email are vars from the flash (post) _parent.loadVariables("form.php", "POST");
1
3782
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() function writes the entire contents of the mailbox of cause including the headers of the emails I do not want. I have tried a few things but I cant get to my goal.Any ideas or pointers I need only the email body and I cant figute out why I can using...
0
1328
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() function writes the entire contents of the mailbox of cause including the headers of the emails I do not want. I have tried a few things but I cant get to my goal.Any ideas or pointers I need only the email body and I cant figute out why I can using...
0
1026
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 mail print mail.get_content_type()#text/plain
1
1244
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 message of the email and not some of the unnecessary jargon of the message body. Does anyone know of a really simple and clean way to display only the message of the email body.
1
1429
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 on this? 1. Are C++ and/or C++/CLR classes now intended to be typically implemented in the header?
10
4808
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 pure virtual function body
8
1510
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
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10366
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
10173
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
10110
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,...
1
7517
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
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5399
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4070
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

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.