Marking a Post Item as complete.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Right now I use

If MarkComplete = True Then
.FlagIcon = olNoFlagIcon
.FlagStatus = olFlagComplete
End If

To flag an email as complete. This however, will not work with a post.

Any Ideas?
 
The only workaround is to use Extended MAPI (C++/Delphi only), CDO 1.21 or
<plug> Redemption </plug> to either modify the corresponding MAPI properties
directly or (in case of Redemption) set the RDOPostItem.FlagIcon/FlagStatus
properties.

You might also want to try to
1. set the MessageClass property to "IPM.Note",
2. save it,
3. remember the entry id,
4. release the PostItem,
5. call Namespace.GetItemFromID (if you do not do #4, you will get back teh
same PostItem object)
6. Since thee message class is now "IPM.Note", GetItemFromID in #5 will
return MailItem object, so you can set the FlagIcon and FlagStatus
properties.
7. Reset MessageClass property back to "IPM.Post", save it

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