Performs post-send categorization on a mail item based on its PidTagConversationId.
HRESULT WINAPI HrProcessConvActionForSentItem( SBinary const *pmbinStoreEid, SBinary const *pmbinMsgEid, SBinary const *pmbinConvID, DWORD dwFlags)
Categories are considered personal information and should not be transmitted outside the mailbox of the user. Therefore, do not call HrProcessConvActionForSentItem on an unsent mail item. Instead, send the item, and then call HrProcessConvActionForSentItem on the archived copy. The archived copy may be stored in the Sent Items folder, or an equivalent location.
Your application must be in-process with Outlook.exe, such as from a COM add-in, to call HrProcessConvActionForSentItem. If you attempt to call HrProcessConvActionForSentItem out-of-process, HrProcessConvActionForSentItem will throw an access-violation exception.