Accessing .msg files without Outlook installed on PC 
Author Message
 Accessing .msg files without Outlook installed on PC

Hi,

A colleague of mine needs an help(tech). He is using a
VB Application to read the mail messages, which are
stored in .msg or .eml format in the hard disk. The PC
doesnot have any email software viz., outlook or
netscape messenger but the email files are stored in
the hard disk. He wants to read the messages and its
properties. He tried using MAPI but was not
successful, he used CDO and was succesful in reading
only .eml files but he is not able to read .msg
files(email files). I feel CDO doesnot recognize .msg
files, could some of the experts who have worked on
MAPI or CDO help me in this...

Thanks,
Vinu



Sun, 01 Aug 2004 23:03:12 GMT  
 Accessing .msg files without Outlook installed on PC
Those are proprietary formats - you'll need to dive in and figure out how to
read the contents.
I think I remember they're based on the OLE compound file implementation -
you can use the Doc Viewer that ships with the PSDK to verify that. After
that it's just a matter of writing code to pull the streams from the file
and interpret them.

--
. . . . . . . . . . . . . . . . . . . . . .
Klaus H. Probst, MVP
   http://www.vbbox.com/

Please post/reply to the newsgroup(s)


Quote:
> Hi,

> A colleague of mine needs an help(tech). He is using a
> VB Application to read the mail messages, which are
> stored in .msg or .eml format in the hard disk. The PC
> doesnot have any email software viz., outlook or
> netscape messenger but the email files are stored in
> the hard disk. He wants to read the messages and its
> properties. He tried using MAPI but was not
> successful, he used CDO and was succesful in reading
> only .eml files but he is not able to read .msg
> files(email files). I feel CDO doesnot recognize .msg
> files, could some of the experts who have worked on
> MAPI or CDO help me in this...

> Thanks,
> Vinu



Mon, 02 Aug 2004 03:21:03 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. HOW TO in VB :Outlook MSG DROP in Explorer creates a MSG File

2. Able to program Outlook without Outlook installed???

3. How to install DAO without installing Access?

4. Please Help with file .msg (Outlook file)

5. Using an mdb file with VB 6 ADO without Access installed

6. How can I install Outlook on 2 pcs

7. Accessing Outlook Adressbook without starting Outlook

8. Can VBScript under WinScriptHost connect to Access db without Access being installed on the workstation

9. See if a Outlook.Mailtem is a .msg-file or an item in a folder

10. Opening .msg files in Outlook via COM

11. Importing MSG files back into Outlook

12. Can I get .MSG files back into Outlook???

 

 
Powered by phpBB® Forum Software