Provides the ability to set and handle follow-up Outlook flags and categories. Supports the features to add and remove a flag in MapiMessage, and mark it as completed as well. More...
Inherits Object.
Public Member Functions | |
FollowUpManager ()=delete | |
Static Public Member Functions | |
static void | SetFlag (System::SharedPtr< MapiMessageItemBase > message, System::String flagRequest) |
Sets the follow-up flag for a message. More... | |
static void | SetFlag (System::SharedPtr< MapiMessageItemBase > message, System::String flagRequest, System::DateTime startDate, System::DateTime dueDate) |
Sets the follow-up flag for a message. More... | |
static void | SetFlagForRecipients (System::SharedPtr< MapiMessageItemBase > message, System::String flagRequest) |
Sets the flag for a draft message to remind recipients to follow-up. More... | |
static void | SetFlagForRecipients (System::SharedPtr< MapiMessageItemBase > message, System::String flagRequest, System::DateTime reminderTime) |
Sets the flag for a draft message to remind recipients to follow-up. More... | |
static void | MarkAsCompleted (System::SharedPtr< MapiMessageItemBase > message) |
Marks the flagged message as completed. More... | |
static void | ClearFlag (System::SharedPtr< MapiMessageItemBase > message) |
Clears the follow-up flag and reminder. More... | |
static void | AddCategory (System::SharedPtr< MapiMessageItemBase > message, System::String categoryName) |
Adds the category for a message. More... | |
static void | SetCategory (System::SharedPtr< MapiMessageItemBase > message, System::String categoryName) |
static void | RemoveCategory (System::SharedPtr< MapiMessageItemBase > message, System::String categoryName) |
Removes the category. More... | |
static void | ClearCategories (System::SharedPtr< MapiMessageItemBase > message) |
Clears the categories. More... | |
static System::SharedPtr< System::Collections::Generic::IList< System::String > > | GetCategories (System::SharedPtr< MapiMessageItemBase > message) |
Get the available message categories. More... | |
static void | AddVotingButton (System::SharedPtr< MapiMessageItemBase > message, System::String displayName) |
Adds the voting button. More... | |
static void | ClearVotingButtons (System::SharedPtr< MapiMessageItemBase > message) |
Deletes the voting buttons. More... | |
static void | RemoveVotingButton (System::SharedPtr< MapiMessageItemBase > message, System::String displayName) |
Removes the voting button. More... | |
static System::ArrayPtr< System::String > | GetVotingButtons (System::SharedPtr< MapiMessageItemBase > message) |
Get the available message voting buttons. More... | |
static void | SetOptions (System::SharedPtr< MapiMessageItemBase > message, System::SharedPtr< FollowUpOptions > options) |
Sets the additional follow-up options for a message. More... | |
static System::SharedPtr< FollowUpOptions > | GetOptions (System::SharedPtr< MapiMessageItemBase > message) |
Gets the follow-up options of a message. More... | |
Friends | |
class | Aspose::Email::Clients::Graph::V1::Commands::UpdateMessageCommand |
class | Aspose::Email::Mapi::MapiMessageItemBase |
Provides the ability to set and handle follow-up Outlook flags and categories. Supports the features to add and remove a flag in MapiMessage, and mark it as completed as well.
|
delete |
|
static |
Adds the category for a message.
message | The MapiMessageItemBase in which a category will be added. |
categoryName | Category name. |
ArgumentNullException | If message is null. |
ArgumentException | If categoryName is null or empty. |
|
static |
Adds the voting button.
message | The MapiMessageItemBase in which the voting button is added. |
displayName | The display name of button. |
ArgumentNullException | If message is null. |
ArgumentException | If displayName is null or empty. |
|
static |
Clears the categories.
message | The MapiMessageItemBase in which the categories will be cleared. |
ArgumentNullException | If message is null. |
|
static |
Clears the follow-up flag and reminder.
message | The MapiMessageItemBase in which a flag is set. |
ArgumentNullException | If message is null. |
|
static |
Deletes the voting buttons.
message | The MapiMessageItemBase in which the categories will be cleared. |
ArgumentNullException | If message is null. |
|
static |
Get the available message categories.
message | The MapiMessageItemBase in which the categories are added. |
ArgumentNullException | If message is null. |
|
static |
Gets the follow-up options of a message.
message | The MapiMessageItemBase in which options is set. |
ArgumentNullException | If message is null. |
|
static |
Get the available message voting buttons.
message | The MapiMessageItemBase in which the buttons are added. |
ArgumentNullException | If message is null. |
|
static |
Marks the flagged message as completed.
message | The MapiMessageItemBase in which a flag is set. |
ArgumentNullException | If message is null. |
|
static |
Removes the category.
message | The message. |
categoryName | Name of the category. |
ArgumentNullException | If message is null. |
ArgumentException | If categoryName is null or empty. |
|
static |
Removes the voting button.
message | The MapiMessageItemBase in which the voting button is removed. |
displayName | The display name of button. |
ArgumentNullException | If message is null. |
ArgumentException | If displayName is null or empty. |
|
static |
|
static |
Sets the follow-up flag for a message.
message | The MapiMessageItemBase in which a flag will be set. |
flagRequest | A string indicating the requested action for an e-mail message. |
ArgumentException | If flagRequest is null or empty. |
ArgumentNullException | If message is null. |
|
static |
Sets the follow-up flag for a message.
message | The MapiMessageItemBase in which a flag will be set. |
flagRequest | A string indicating the requested action for an e-mail message. |
startDate | The start date. |
dueDate | The due date. |
ArgumentException | If flagRequest is null or empty. |
ArgumentNullException | If message is null. |
|
static |
Sets the flag for a draft message to remind recipients to follow-up.
message | The MapiMessageItemBase in which a flag will be set. |
flagRequest | A string indicating the requested action action for recipients of an e-mail message. |
ArgumentNullException | If message is null. |
ArgumentException | If flagRequest is null or empty. |
InvalidOperationException | If message is not set on a draft mode. |
|
static |
Sets the flag for a draft message to remind recipients to follow-up.
message | The MapiMessageItemBase in which a flag will be set. |
flagRequest | A string indicating the requested action action for recipients of an e-mail message. |
reminderTime | A date indicating the date and time at which the reminder should occur. |
ArgumentNullException | If message is null. |
ArgumentException | If flagRequest is null or empty. |
InvalidOperationException | If message is not set on a draft mode. |
|
static |
Sets the additional follow-up options for a message.
message | The MapiMessageItemBase in which a flag will be set. |
options | The FollowUpOptions that represents options for using follow-up flags and reminders. |
ArgumentNullException | If message is null. |
ArgumentNullException | If options is null. |
|
friend |
|
friend |