Marking a Post Item as complete.

R

RJH

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

Dmitry Streblechenko

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top