Opening a mail from Access

harrisw

Registered User.
Local time
Today, 15:21
Joined
Mar 27, 2001
Messages
131
How can I open a .msg outlook file using code within Access 97.

I know that

Set MyItem = spObj.CreateItem(olMailItem)
MyItem.Display

Opens a new mail, but I don't know what opens an existing one that is store in a directory somewhere.

Anyone help?
 
See Microsoft Knowledge base article:

HOWTO: Use OLE Automation with Microsoft Outlook 97
ID: Q170262


It has sample code on how to retrieve Mail Messages using VBA
 
Had a look but doesn't tell me how to open an e-mail that is stored on the harddrive as a .msg file.

The article in microsoft only tells you how to retreive it from within outlook.
 

Users who are viewing this thread

Back
Top Bottom