473,811 Members | 2,597 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Parsing message (.msg) files

Hi all,
I am trying to do something which would seem to be simple.
I need to parse message files (.msg extensions) in order
to find certain words in the content of the message.
I thought that the simplest way would be to parse these
files as if they were text files (using Stream Reader).
The problem comes that some of these messages are sent in
an HTML format, so parsing them with a stream reader omits
a great deal of the text, or turns it into gibberish.

I wish to parse the text after it is changed into a source
file (as if I were to right click on the message and
choose view source) once this is done all the content is
presented in an HTML code which I CAN parse as text
I am sure that there is an object in the Framework that
can handle this case, but I don't know how.
Please help.

Thanks

David
P.S please feel free to Email me.

Nov 15 '05 #1
0 2684

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

Similar topics

8
5717
by: Bram Stolk | last post by:
Hi there, What could I use to parse CPP macros in Python? I tried the Parnassus Vaults, and python lib docs, but could not find a suitable module. Thanks, Bram
0
2308
by: Vlad | last post by:
Hello, all I have some .msg file on my website and the when users click on the link they are able to open this file in Outlook Exchange. I had no problem running it on IIS 5. But with IIS 6 I am not able to open .msg file. Just saying that file is not found. I am able to open some other files such as .doc and .xls that are in the same directory. Please, help
9
4055
by: PedroX | last post by:
Hello: I need to parse some large XML files, and save the data in an Access DB. I was using MSXML 2 and ASP, but it turns out to be extremely slow when then XML documents are like 10 mb in size. It's taking over an hour to parse such sizes!? I don't really need to use ASP or a web server at all because I am parsing all in my own computer. Is there any executable that can do this parsing faster than the way I was doing it?
3
2617
by: John Doe | last post by:
I've been doing some reading/research on parsing simple configuration files through C, and have heard various opinions on the matter. I'd like to solicit some opinions and design criteria (as well as "gotchas") for doing this. I'm implementing a program that needs to read a standard configuration file, in key=value pairs for starters (though I'm open to other ideas). Basically it would be no more than about 20 lines total, one key per...
1
7291
by: john s | last post by:
I am trying to create a message text file for the Catagory field in order to map the catagory input number to a string text. I have found some MSDN information on this, but it appears to only be for C/C++. What I have found in MSDN so far can be found here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/message_files.asp and...
6
3162
by: ArunPrakash | last post by:
Hi, I have a web application that looks for a particular string in a set of huge files( the files grow into MBs - max i have seen is 30 MB ). ( search using reg expressions ). the string can occur multiple times in a file. whenver the string is found in a line, the whole line must be printed in the output. What i am doing is, 1. traversing each file in the directory 2. In each file, read line by line 3. Match the regular expression. If...
0
1843
by: PIKACHU | last post by:
Hi, I hope someone can help me. I do not usualy write question in newsgroup since I usualy some had the same problem I had. However, I can't find any articles that would solve my problem. I am streaming files from a Web Server (.aspx page) using the code bellow. --------------------------------------------------------------
23
25501
by: Graham F French | last post by:
Hello, I can read text files into my application, but I cannot read in msg files as they seem to be in a proprietry format. Is there anyway of converting it on the fly or is there an interpretation method? Thanks
3
13681
by: David C | last post by:
Our application has an aspx page that sets the Response.ContentType based on the file extension of the file selected, e.g. if .doc it sets it to "Application/msword", if .gif it sets it to "image/gif", etc. What would I use for .msg files that come from Outlook? Thanks. David
0
9728
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
10648
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...
1
10402
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
10135
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
7670
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
6890
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
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4339
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
2
3867
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.