Please, help with _NoteItem body

  • Thread starter Thread starter Tatiana Andreeva
  • Start date Start date
T

Tatiana Andreeva

Hi, All!

I have a Outlook::_NoteItem object and need to get its body.
The following line allways leads to security message box (a program is
trying to access e-mail addresses. ....)
_bstr_t bstrBody = pNoteItem->GetBody();

I'm trying to use extended MAPI to avoid this message box. For other types
of objects (TaskItem, MailItem) there is a get_MAPIOBJECT method which helps
me to retrieve properties, but there is no get_MAPIOBJECT method for
NoteItem.
Is there any way to get PR_BODY of the NoteItem using extended MAPI?

Thanks a lot.

Regards,
Tatiana
 
Read the value of the EntryID property, convert the hex string to binary,
use it to call IMAPISession::OpenEntry. IMAPISession can be retrieved from
the Namespace.MAPIOBJECT property (Outlook 2002 and up).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top