Navigating to an email outside of Outlook

E

Elliot

Is it possible to navigate to an email located at c:\sampleEmail.msg
using vb6 or vb.net to read the contents of the Subject and Body for
the purpose of searching?

Thanks,

Elliot Semmelman
 
S

Sue Mosher [MVP-Outlook]

Or since you want only the subject and body, you can use Application.CreateItemFromTemplate to make a copy of the file as a new message.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
E

Elliot

Thank you. It's exactly what I needed.

Elliot

Or since you want only the subject and body, you can use Application.CreateItemFromTemplate to make a copy of the file as a new message.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers







- Show quoted text -
 
D

Dave S

Elliot said:
Is it possible to navigate to an email located at c:\sampleEmail.msg
using vb6 or vb.net to read the contents of the Subject and Body for
the purpose of searching?

May I ask a similar question please ...

I have an existing C++ program that reads EML message files saved from
Outlook Express and files them according to their "from" / "to", and
subject, and date/time of message.

I'd like to extend this to handle MSG files saved from Outlook 2003. I
haven't been able to track down any documentation that deals with how to
read an MSG file to find this basic information. I'd need: subject, from,
to, date and time.

Any pointers to documentation and/or APIs? Although this program is in C++,
I'm happy with descriptions or API source code in any language. (Preferred
environments for source code would be C++, Java, Pascal or VB, as I already
have development environments for those set up.)

Many thanks, Regards, Dave S
 
Top