Does Outlook's MailItem have a path property?

  • Thread starter André Hauptfleisch
  • Start date
A

André Hauptfleisch

Hi,

Is there a way to open a mailitem in
Outlook with a path, like:

Outlook.MailItem oMI = (Outlook.MailItem)
outlookApplication.GetItem(@"\\Public " +
"Folders\All Public Folders\My Mail " +
"Folder\{AB12CD-342....}");

Where "{AB12CD-342....}" is the message
ID (you'd obviously need to know the exact
path and message ID before hand).

Have any of you ever come accross something
like this?

Regards,
Andre


For more info:

I've got about 300,000 messages in a public
folder and would like to access a message
directly without doing a search for the
message.
 
Top