M
Michael H
I managed to retrieve an MailItem successfully having the EntryID
ahead of time using:
olApplication = new ApplicationClass();
olNameSpace = this.olApplication.GetNamespace("MAPI");
MailItem item = (MailItem) this.olNameSpace.GetItemFromID(strEntryID,
null);
string retValue = item.Body;
Of course, the Outlook warning window pops up. I've switched to trying
Dmitry Streblechenko's Redemption.DLL but haven't figured out the
exact way to get the MailItem from a known MailItem.EntryID value.
Every single example I have found, so far, deals with "creating" an
EmailItem and then manipulating its fields/properties. This has proven
to be useless so far. I'll keep hacking away at this but don't know
which direction to head next.
Thanks,
Michael
ahead of time using:
olApplication = new ApplicationClass();
olNameSpace = this.olApplication.GetNamespace("MAPI");
MailItem item = (MailItem) this.olNameSpace.GetItemFromID(strEntryID,
null);
string retValue = item.Body;
Of course, the Outlook warning window pops up. I've switched to trying
Dmitry Streblechenko's Redemption.DLL but haven't figured out the
exact way to get the MailItem from a known MailItem.EntryID value.
Every single example I have found, so far, deals with "creating" an
EmailItem and then manipulating its fields/properties. This has proven
to be useless so far. I'll keep hacking away at this but don't know
which direction to head next.
Thanks,
Michael