Redemption - import the noteitem

  • Thread starter Thread starter Semut
  • Start date Start date
S

Semut

I have checked the SafeXXItem, there isn't any class that is targetted for
sticky note item.

What class should I use in redemption for importing a MSG which it's type is
stickynotes?
 
I'd try using SafePostItem, which is the simplest type of item, and then
change the MessageClass to IPM.StickyNote after the import and before
saving. Let us know if it works!
 
Nope, it doesn't seem to work either.


The working sequence that I found is

save the newly added NoteItem using MAPI,get the EntryID.

then through Redemption::MAPIUtils, get the IMessageItem from
IMAPIUtils::GetItemFromID,
IMessageItem::Import and IMessageItem::save.
 
Yup, that should work - the reason why there is no safe version of the
sticky note is because NoteItem in OOM does not expose the MAPIOBJECT
property (which all Safe*Item objects in Redemption need).

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