473,584 Members | 2,873 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reading outlook .msg files

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

Graham

Graham F French mcse
Nov 20 '05 #1
23 25453
their in binary format not text format, to read binary format you need to
know the data structure of the file.
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
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

Graham

Graham F French mcse

Nov 20 '05 #2
It is from outlook, so whatever that binary format is.

Hope this helps.

Graham
"Brian Henry" <br******@adelp hia.net> wrote in message
news:ey******** ********@TK2MSF TNGP12.phx.gbl. ..
their in binary format not text format, to read binary format you need to
know the data structure of the file.
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
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

Graham

Graham F French mcse


Nov 20 '05 #3
Graham,
The .msg format is not documented.

The "easiest" way to read it would be to have the App that defines the
format read it, in this case Outlook.

The following site provides a plethora of information on using Outlook from
..NET.

http://www.microeye.com/resources/res_outlookvsnet.htm

Hope this helps
Jay

"Graham F French" <gr***********@ satosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
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

Graham

Graham F French mcse

Nov 20 '05 #4
You've never worked with binary/random access file have you?
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:eC******** ********@tk2msf tngp13.phx.gbl. ..
It is from outlook, so whatever that binary format is.

Hope this helps.

Graham
"Brian Henry" <br******@adelp hia.net> wrote in message
news:ey******** ********@TK2MSF TNGP12.phx.gbl. ..
their in binary format not text format, to read binary format you need to
know the data structure of the file.
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
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

Graham

Graham F French mcse



Nov 20 '05 #5
I don't know if its on here... but a link for understanding (and the
formats) of many popular binary file types.

http://www.wotsit.org/search.asp?s=ALLFILES

CJ
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:eC******** ********@tk2msf tngp13.phx.gbl. ..
It is from outlook, so whatever that binary format is.

Hope this helps.

Graham
"Brian Henry" <br******@adelp hia.net> wrote in message
news:ey******** ********@TK2MSF TNGP12.phx.gbl. ..
their in binary format not text format, to read binary format you need to
know the data structure of the file.
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
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

Graham

Graham F French mcse



Nov 20 '05 #6
Jay,

Sorry, I do need to know how to read this file format directly into my
application.

I know that it can be done in VB6.

Cheers

Graham

"Jay B. Harlow [MVP - Outlook]" <Ja************ @msn.com> wrote in message
news:uW******** ******@tk2msftn gp13.phx.gbl...
Graham,
The .msg format is not documented.

The "easiest" way to read it would be to have the App that defines the
format read it, in this case Outlook.

The following site provides a plethora of information on using Outlook from .NET.

http://www.microeye.com/resources/res_outlookvsnet.htm

Hope this helps
Jay

"Graham F French" <gr***********@ satosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
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

Graham

Graham F French mcse


Nov 20 '05 #7
CJ,

You are dead right, I have never worked with binary.

I still consider myself as a newbie, text files are no problem, binary.....
not a chance!!

The site that you showed me has not got the msg format.

Any further help would be appreciated.

Thanks

Graham

"CJ Taylor" <no****@blowgoa ts.com> wrote in message
news:10******** *****@corp.supe rnews.com...
I don't know if its on here... but a link for understanding (and the
formats) of many popular binary file types.

http://www.wotsit.org/search.asp?s=ALLFILES

CJ
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:eC******** ********@tk2msf tngp13.phx.gbl. ..
It is from outlook, so whatever that binary format is.

Hope this helps.

Graham
"Brian Henry" <br******@adelp hia.net> wrote in message
news:ey******** ********@TK2MSF TNGP12.phx.gbl. ..
their in binary format not text format, to read binary format you need to know the data structure of the file.
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
> 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
>
> Graham
>
> Graham F French mcse
>
>



Nov 20 '05 #8
Hmm, sorry, didn't look through it enough... Sorry about that.. still
searching for a source of it.. but personally, I would use the Outlook
interop.
-CJ
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:OZ******** ********@TK2MSF TNGP09.phx.gbl. ..
CJ,

You are dead right, I have never worked with binary.

I still consider myself as a newbie, text files are no problem, binary..... not a chance!!

The site that you showed me has not got the msg format.

Any further help would be appreciated.

Thanks

Graham

"CJ Taylor" <no****@blowgoa ts.com> wrote in message
news:10******** *****@corp.supe rnews.com...
I don't know if its on here... but a link for understanding (and the
formats) of many popular binary file types.

http://www.wotsit.org/search.asp?s=ALLFILES

CJ
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:eC******** ********@tk2msf tngp13.phx.gbl. ..
It is from outlook, so whatever that binary format is.

Hope this helps.

Graham
"Brian Henry" <br******@adelp hia.net> wrote in message
news:ey******** ********@TK2MSF TNGP12.phx.gbl. ..
> their in binary format not text format, to read binary format you need
to
> know the data structure of the file.
>
>
> "Graham F French" <gr***********@ satosoft.com> wrote in message
> news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
> > 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
> >
> > Graham
> >
> > Graham F French mcse
> >
> >
>
>



Nov 20 '05 #9
The problem is the client. Outlook will not be installed.

The msg files are saved to a shared server drive and my application needs to
read in the msg files.

Cheers

Graham

"CJ Taylor" <no****@blowgoa ts.com> wrote in message
news:10******** *****@corp.supe rnews.com...
Hmm, sorry, didn't look through it enough... Sorry about that.. still
searching for a source of it.. but personally, I would use the Outlook
interop.
-CJ
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:OZ******** ********@TK2MSF TNGP09.phx.gbl. ..
CJ,

You are dead right, I have never worked with binary.

I still consider myself as a newbie, text files are no problem,

binary.....
not a chance!!

The site that you showed me has not got the msg format.

Any further help would be appreciated.

Thanks

Graham

"CJ Taylor" <no****@blowgoa ts.com> wrote in message
news:10******** *****@corp.supe rnews.com...
I don't know if its on here... but a link for understanding (and the
formats) of many popular binary file types.

http://www.wotsit.org/search.asp?s=ALLFILES

CJ
"Graham F French" <gr***********@ satosoft.com> wrote in message
news:eC******** ********@tk2msf tngp13.phx.gbl. ..
> It is from outlook, so whatever that binary format is.
>
> Hope this helps.
>
> Graham
>
>
> "Brian Henry" <br******@adelp hia.net> wrote in message
> news:ey******** ********@TK2MSF TNGP12.phx.gbl. ..
> > their in binary format not text format, to read binary format you need to
> > know the data structure of the file.
> >
> >
> > "Graham F French" <gr***********@ satosoft.com> wrote in message
> > news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
> > > 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
> > >
> > > Graham
> > >
> > > Graham F French mcse
> > >
> > >
> >
> >
>
>



Nov 20 '05 #10

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

Similar topics

0
2121
by: pcouas | last post by:
Hi, Anyone know how reading Outlook or Outlook express contact File from Javamail ? It seems theses files are named .dbx and .vba Thanks Philippe
14
11858
by: Peter Galfi | last post by:
Hi! I am looking for a library in Python that would read PDF files and I could extract information from the PDF with it. I have searched with google, but only found libraries that can be used to write PDF files. Any ideas? Peter
4
9154
by: Yavuz Bogazci | last post by:
Hi, has someone a C# oder VB.Net Class for reading Outlook Express .dbx Files. I need a sample how i can read the content of a .dbx File and show the Emails with C# or Vb.Net. thanks Yavuz Bogazci
1
1829
by: Paul Fi | last post by:
does .net have any api for reading outlook express files (dbx files)? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
1
3034
by: Manjunath sp via DotNetMonster.com | last post by:
Hi, How to effectively write and read structures from binary files in .Net? Currently I am using functions like ReadInt32 and the likes to read data from binary file into each elements of a structure, but this is very inefficent compared to VB3 where I could use Get method to read the whole structure data? Is there any similar method in .net?...
1
2123
by: Shmuel Shulman | last post by:
Hi I have 2 funny probs that are probably related 1. I can't read the entire field from a dbf file it cuts it at some point (see below) 2. When I use Access or SQL server to read these files they too read only up to that point also SQLServer sets the number characters to the 1 that it read
0
2185
by: Anish G | last post by:
Hi, I have an issue with reading CSV files. I am to reading CSV file and putting it in a Datatable in C#. I am using a regular expression to read the values. Below is the code. Now, it reads CSV file without any issues only if all the fields are not null. If any field is blank, it moves the values to the left and displays the value under...
10
3163
by: lancer6238 | last post by:
Hi all, I'm having programs reading from files. I have a text file "files.txt" that contains the names of the files to be opened, i.e. the contents of files.txt are Homo_sapiens.fa Rattus_norvegicus.fa (They are FA files that can be opened in any text editor.)
2
2230
by: doublemaster007 | last post by:
Hi How to read binary files in MAC OS? FILE *readFile = fopen("filename", "rb"); then reading it like this: count=fread(readBuffer, sizeof(char), bufferSize, readFile)
0
7897
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...
0
7829
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...
0
8190
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. ...
1
7940
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...
0
6590
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5705
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...
0
5379
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...
1
1441
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1163
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...

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.