Redemption - import the noteitem

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?
 
S

Sue Mosher [MVP-Outlook]

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!
 
S

Semut

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.
 
D

Dmitry Streblechenko \(MVP\)

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
 
Top