473,465 Members | 1,373 Online
Bytes | Software Development & Data Engineering Community
Create 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 25428
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****************@TK2MSFTNGP11.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******@adelphia.net> wrote in message
news:ey****************@TK2MSFTNGP12.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****************@TK2MSFTNGP11.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****************@TK2MSFTNGP11.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****************@tk2msftngp13.phx.gbl...
It is from outlook, so whatever that binary format is.

Hope this helps.

Graham
"Brian Henry" <br******@adelphia.net> wrote in message
news:ey****************@TK2MSFTNGP12.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****************@TK2MSFTNGP11.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****************@tk2msftngp13.phx.gbl...
It is from outlook, so whatever that binary format is.

Hope this helps.

Graham
"Brian Henry" <br******@adelphia.net> wrote in message
news:ey****************@TK2MSFTNGP12.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****************@TK2MSFTNGP11.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**************@tk2msftngp13.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****************@TK2MSFTNGP11.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****@blowgoats.com> wrote in message
news:10*************@corp.supernews.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****************@tk2msftngp13.phx.gbl...
It is from outlook, so whatever that binary format is.

Hope this helps.

Graham
"Brian Henry" <br******@adelphia.net> wrote in message
news:ey****************@TK2MSFTNGP12.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****************@TK2MSFTNGP11.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****************@TK2MSFTNGP09.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****@blowgoats.com> wrote in message
news:10*************@corp.supernews.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****************@tk2msftngp13.phx.gbl...
It is from outlook, so whatever that binary format is.

Hope this helps.

Graham
"Brian Henry" <br******@adelphia.net> wrote in message
news:ey****************@TK2MSFTNGP12.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****************@TK2MSFTNGP11.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****@blowgoats.com> wrote in message
news:10*************@corp.supernews.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****************@TK2MSFTNGP09.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****@blowgoats.com> wrote in message
news:10*************@corp.supernews.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****************@tk2msftngp13.phx.gbl...
> It is from outlook, so whatever that binary format is.
>
> Hope this helps.
>
> Graham
>
>
> "Brian Henry" <br******@adelphia.net> wrote in message
> news:ey****************@TK2MSFTNGP12.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****************@TK2MSFTNGP11.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
Not to be a noot, but I think you're on the wrong track. .msg files ARE
NOT MS Outlook files, but e-mail messages that are used by a thousand or so
clients. There is both an ISO and RFC spec on this. Check out .msg email
file layouts, that may lead to some clues, and remember, MS doesn't have the
market on everything, even though they'd like to :)

HTH
Sueffel
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004
Nov 20 '05 #11
And actually, I posted before I thought bout it more, email messages are
required to be plain-text unless they are encrypted. If they are encrypted
by Outlook for whatever reason, you're pretty hosed. Ofcourse, not 100%
sure what Outlook may be doing to this file, but it sure is really fubared,
and needs to be avoided LOL
It looks to be a non-stander, IE fubared, db type of format, let me see
what I can dig up for ya...

Sueffel

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004
Nov 20 '05 #12
Cor
Hi Graham,

I got this links from Jay B. we work in a team like that.

You can read them and Jay B has a lot of more answers.

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

http://msdn.microsoft.com/library/de...classtopic.asp

http://msdn.microsoft.com/library/de...vr_cdo_top.asp
The four CDOs are (in chronological order):

- CDO.DLL : CDO version 1.2.1
- CDONTS.DLL : CDO version 1.2.1 for Windows NT Server (not the same as CDO
version 1.2.1!)
- CDOSYS.DLL : CDO for Windows 2000
- CDOEX.DLL : CDO for Exchange 2000 Server

And the last is probably what you need.

Look at the outlook and exchange part in it, but I think in this case take
first the Exchange part, because you have to read the message storage from
that server for what you want I thouhgt.

Cor
Nov 20 '05 #13
Binary files are a defined data structure. you have to know how to read in
the structures in teh correct data type to be able to convery from binary to
something you can use, I'd suggest reading up on binary format files first
then search for a binary file format document on outlook second..
"Graham F French" <gr***********@satosoft.com> wrote in message
news:uD*************@tk2msftngp13.phx.gbl...
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**************@tk2msftngp13.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****************@TK2MSFTNGP11.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 #14
Yeah, I can't find a thing on the data structure of a msg file anywhere...

good luck,
CJ
"Brian Henry" <br******@adelphia.net> wrote in message
news:uf**************@TK2MSFTNGP12.phx.gbl...
Binary files are a defined data structure. you have to know how to read in
the structures in teh correct data type to be able to convery from binary to something you can use, I'd suggest reading up on binary format files first
then search for a binary file format document on outlook second..
"Graham F French" <gr***********@satosoft.com> wrote in message
news:uD*************@tk2msftngp13.phx.gbl...
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**************@tk2msftngp13.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****************@TK2MSFTNGP11.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 #15

"Sueffel" <so*****@somewhere.com> wrote in message
news:uR****************@TK2MSFTNGP12.phx.gbl...
And actually, I posted before I thought bout it more, email messages are required to be plain-text unless they are encrypted. If they are encrypted by Outlook for whatever reason, you're pretty hosed. Ofcourse, not 100%
sure what Outlook may be doing to this file, but it sure is really fubared, and needs to be avoided LOL
It looks to be a non-stander, IE fubared, db type of format, let me see what I can dig up for ya...

Sueffel

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004


Well damn,MS strikes again with propritary format! I've seen .msg files
many time on linux email servers, but it seems that this is something MS has
tried to say, "Hey, this is ours and there's nothing you can do about it".
That sucks, I will look somemore thoguh unless those links jay giave are the
answer.

Sueffel
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004
Nov 20 '05 #16
Hi,

I have yet to find some info on this, anything you can get would be
appreciated!

Thanks

Graham

"Sueffel" <so*****@somewhere.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...

"Sueffel" <so*****@somewhere.com> wrote in message
news:uR****************@TK2MSFTNGP12.phx.gbl...
And actually, I posted before I thought bout it more, email messages are
required to be plain-text unless they are encrypted. If they are

encrypted
by Outlook for whatever reason, you're pretty hosed. Ofcourse, not 100%
sure what Outlook may be doing to this file, but it sure is really

fubared,
and needs to be avoided LOL
It looks to be a non-stander, IE fubared, db type of format, let me

see
what I can dig up for ya...

Sueffel

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004


Well damn,MS strikes again with propritary format! I've seen .msg files
many time on linux email servers, but it seems that this is something MS

has tried to say, "Hey, this is ours and there's nothing you can do about it".
That sucks, I will look somemore thoguh unless those links jay giave are the answer.

Sueffel
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004

Nov 20 '05 #17
Graham,
Sorry, I do need to know how to read this file format directly into my
application. I'm Sorry, which part of "not documented" do you not understand? :-|
I know that it can be done in VB6.
If you know how to do it in VB6, then you *should* know how to do it in
VB.NET.

Can you post the VB6 code you are using? The code should largely translate
into VB.NET, nothing else, create a simple VB6 project that uses the code,
then use the Upgrade Wizard in VB.NET to open the project.

Hope this helps
Jay

"Graham F French" <gr***********@satosoft.com> wrote in message
news:uD*************@tk2msftngp13.phx.gbl... 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**************@tk2msftngp13.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****************@TK2MSFTNGP11.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 #18
Hi Jay,

I don't know vb6 at all. It sounds strange, but I stared off with vbscript!
Then I moved to asp.net.

I could post the vb6 code that reads the file in, as it doesn't make much
sense to me.

Regards

Graham
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message
news:er**************@TK2MSFTNGP09.phx.gbl...
Graham,
Sorry, I do need to know how to read this file format directly into my
application.

I'm Sorry, which part of "not documented" do you not understand? :-|
I know that it can be done in VB6.


If you know how to do it in VB6, then you *should* know how to do it in
VB.NET.

Can you post the VB6 code you are using? The code should largely translate
into VB.NET, nothing else, create a simple VB6 project that uses the code,
then use the Upgrade Wizard in VB.NET to open the project.

Hope this helps
Jay

"Graham F French" <gr***********@satosoft.com> wrote in message
news:uD*************@tk2msftngp13.phx.gbl...
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**************@tk2msftngp13.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****************@TK2MSFTNGP11.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 #19
Outlook uses the OLE structured storage file format to write the .msg files.
To read these files you have to use the OLE api. There's a set of VB.NET
classes that wraps this API in my site:

Once you download the classes you can use this code to read the message
body:

' Open the message file
Dim msg As New Storage("test.msg")

' Get the message body stream
Dim stream As OleStorage.Stream = msg.OpenStream("__substg1.0_80050102")
Dim reader As New IO.StreamReader(stream)

' Show the message body
MsgBox(reader.ReadToEnd)

' Close the stream
reader.Close()
stream.Close()

' Close the message file
msg.Close()

The following are the streams I know:

__substg1.0_0037001E -> subject
__substg1.0_0050001E -> sender's email
__substg1.0_0650001E -> sender's email
__substg1.0_0760001E -> recipient's email
__substg1.0_07D0001E -> headers
__substg1.0_0C1F001E -> sender's email
__substg1.0_1000001E -> message body
__substg1.0_1035001E -> message id
__substg1.0_1046001E -> sender's email
__substg1.0_80050102 -> message body

--
Eduardo A. Morcillo [MS MVP VB]
http://www.mvps.org/emorcillo
Nov 20 '05 #20

"Graham F French" <gr***********@satosoft.com> wrote in message
news:e5*************@TK2MSFTNGP11.phx.gbl...
Hi Jay,

I don't know vb6 at all. It sounds strange, but I stared off with vbscript! Then I moved to asp.net.

If you know VBScript, Vb6 wouldn't be a challenge, since vbscript could be
considered a subset of VB6...
I could post the vb6 code that reads the file in, as it doesn't make much
sense to me.

suspicious...
Regards

Graham
"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message
news:er**************@TK2MSFTNGP09.phx.gbl...
Graham,
Sorry, I do need to know how to read this file format directly into my
application.

I'm Sorry, which part of "not documented" do you not understand? :-|
I know that it can be done in VB6.


If you know how to do it in VB6, then you *should* know how to do it in
VB.NET.

Can you post the VB6 code you are using? The code should largely translate
into VB.NET, nothing else, create a simple VB6 project that uses the code, then use the Upgrade Wizard in VB.NET to open the project.

Hope this helps
Jay

"Graham F French" <gr***********@satosoft.com> wrote in message
news:uD*************@tk2msftngp13.phx.gbl...
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**************@tk2msftngp13.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****************@TK2MSFTNGP11.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 #21
Eduardo,
Based on the numbers you are showing, it appears that each MAPI Property is
stored as a separate Stream. Interesting!

http://msdn.microsoft.com/library/de...properties.asp
__substg1.0_0037001E -> subject http://msdn.microsoft.com/library/de...pr_subject.asp

Of course the .msg format itself is not not documented by MS that I know of,
it may change use at your own risk. For example, the introduction of Unicode
and Contact items and such...

Thanks for the info!

Hope this helps
Jay

"Eduardo A. Morcillo [MS MVP VB]" <emorcillo_at_mvps.org> wrote in message
news:O0**************@TK2MSFTNGP09.phx.gbl... Outlook uses the OLE structured storage file format to write the .msg files. To read these files you have to use the OLE api. There's a set of VB.NET
classes that wraps this API in my site:

Once you download the classes you can use this code to read the message
body:

' Open the message file
Dim msg As New Storage("test.msg")

' Get the message body stream
Dim stream As OleStorage.Stream = msg.OpenStream("__substg1.0_80050102")
Dim reader As New IO.StreamReader(stream)

' Show the message body
MsgBox(reader.ReadToEnd)

' Close the stream
reader.Close()
stream.Close()

' Close the message file
msg.Close()

The following are the streams I know:

__substg1.0_0037001E -> subject
__substg1.0_0050001E -> sender's email
__substg1.0_0650001E -> sender's email
__substg1.0_0760001E -> recipient's email
__substg1.0_07D0001E -> headers
__substg1.0_0C1F001E -> sender's email
__substg1.0_1000001E -> message body
__substg1.0_1035001E -> message id
__substg1.0_1046001E -> sender's email
__substg1.0_80050102 -> message body

--
Eduardo A. Morcillo [MS MVP VB]
http://www.mvps.org/emorcillo

Nov 20 '05 #22
> Based on the numbers you are showing, it appears that each MAPI
Property is stored as a separate Stream. Interesting!


You are right, and that makes it easier.

--
Eduardo A. Morcillo [MS MVP VB]
http://www.mvps.org/emorcillo
Nov 20 '05 #23
MSG.Expert
2 New Member
MSG Files:

Priasoft has several MSG related products. http://www.priasoft.com

In particular, they have a MSG file parsing library that gives developers access to all the properties of a .msg file, without outlook.

They also have an export library that works with the MSG library for exporting msg files to other formats, like PDF, TIF, and HTML.

For PST files, they have a couple of command line tools that allow extraction of messages to MSG, again without requiring outlook, and it supports both ANSI and UNICODE pst files. There is also the reverse, a MSG to PST utility.

They also have a viewer product that looks very similar to outlook 2003 with regards to the User Interface. The viewer can view, search, print, and export msg files.

Lastly, they just release a free ViewOnly viewer here: http://www.priasoft.com/msgview.exe


Regards,
the MSG Guru, Eriq VanBibber
Apr 21 '06 #24

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

Similar topics

0
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
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...
4
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...
1
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
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...
1
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...
0
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...
10
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...
2
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
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
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,...
1
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...
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.