Alternatively, is there a way to validate the certificates of the sender
and recipients? If so, I could cancel the MailItem_Send event and not
have to worry about restoring my currentItem to it's pre-send State.
sf0;321656 Wrote:
> I'm trying to remove certain UserProperties when messages are sent. All
> is well unless Outlook cancels the Send event when it has problems
> encrypting (see Outlook's message further below). In that case, the
> user has 2 options: "Send Unencrypted" or "Cancel". My problem is I
> cannot determine which option the user selected.
>
> The significance of these options is as follows: if the user selects
> "Cancel", the UserProperties which were removed in MailItem_Send must
> be restored (I have a solution for this in the Activate event); if the
> user selects "Send Unencrypted", I don't want to do anything.
>
> The only indication I have that the user has opted to "Send
> Unencrypted" is the 2003 Word editor throws an error when I attempt to
> access the currentItem.UserProperties. No error is thrown in 2003
> default editor or 2007.
>
> Is there a way to determine which button the user clicked?
> Alternatively, is there a way to determine if Outlook intends to
> encrypt the message or not? Or should I remove these UserProperties
> somewhere other than MailItem_Send?
>
> FYI, I don't have access to Redemption or any other 3rd party
> software.
>
> Outlook's message:
> Microsoft Outlook had problems encrypting this message because the
> following recipients had missing or invalid certificates, or
> conflicting or
> unsupported encryption capabilities...
>
> Thank you in advance for your help!
--
sf0
|