void __stdcall CPlug1::OnNewMailEx(BSTR EntryId)
{
Outlook::_NameSpacePtr m_NameSpacePtr = m_spApp-ActiveExplorer()-
GetSession();
if(m_NameSpacePtr == NULL)
{
return;
}
Outlook::_MailItemPtr MailItem = m_NameSpacePtr-GetItemFromID(_bstr_t
(EntryId));
//do other things
}
The code can work with most of the case but encrypted MailItem, again, What
should i do then?
PR_DISPLAY_TO is not settable.
NewMail event (unlike NewMailEx) does not pass the new message as a
[quoted text clipped - 6 lines]
were changed.
What should i do then?
--
Message posted via
http://www.officekb.com