FollowUpManager.SetFlagForRecipients

SetFlagForRecipients(MapiMessageItemBase, string)

Sets a flag on a draft message that reminds its recipients to follow up.

public static void SetFlagForRecipients(MapiMessageItemBase message, string flagRequest)
ParameterTypeDescription
messageMapiMessageItemBaseThe draft message to flag.
flagRequestStringThe requested action that recipients see with the flag.

Exceptions

exceptioncondition
ArgumentNullExceptionmessage is null.
ArgumentExceptionflagRequest is null or empty.
InvalidOperationExceptionThe message is not a draft (it has already been sent).

See Also


SetFlagForRecipients(MapiMessageItemBase, string, DateTime)

Sets a flag with a reminder on a draft message that reminds its recipients to follow up.

public static void SetFlagForRecipients(MapiMessageItemBase message, string flagRequest, 
    DateTime reminderTime)
ParameterTypeDescription
messageMapiMessageItemBaseThe draft message to flag.
flagRequestStringThe requested action that recipients see with the flag.
reminderTimeDateTimeThe date and time the recipients are reminded.

Exceptions

exceptioncondition
ArgumentNullExceptionmessage is null.
ArgumentExceptionflagRequest is null or empty.
InvalidOperationExceptionThe message is not a draft (it has already been sent).

See Also