MarkAsJunk

MarkAsJunk (1 of 5)

The MarkAsJunk method moves mail messages to the junk mail folder and blocks message sender.

Returns: Returns the array of message ID which are moved to the junk mail folder.

MarkAsJunk(bool isJunk, bool moveItem, const System::ArrayPtr< System::String > & messageUriEn)
ParameterDescription
isJunkIndicates, whether messages is marked as junk mail. If value of true adds message sender to the block-list. If value of false removes message sender from the block-list.
moveItemIndicates, whether messages is moved to the junk mail folder.
messageUriEnArray of message uri

MarkAsJunk (2 of 5)

The MarkAsJunk method moves mail messages to the junk mail folder and blocks message sender.

Returns: Returns the array of message ID which are moved to the junk mail folder.

MarkAsJunk(bool isJunk, bool moveItem, System::SharedPtr < System::Collections::Generic::IEnumerable< System::String >> messageUriEn)
ParameterDescription
isJunkIndicates, whether messages is marked as junk mail. If value of true adds message sender to the block-list. If value of false removes message sender from the block-list.
moveItemIndicates, whether messages is moved to the junk mail folder.
messageUriEnEnumeration of message uri

MarkAsJunk (3 of 5)

The MarkAsJunk method moves mail messages to the junk mail folder and blocks message sender.

Returns: virtual void Aspose::Email::Clients::Exchange::WebService::

MarkAsJunk(bool isJunk, bool moveItem, System::SharedPtr < System::Collections::Generic::IEnumerable< System::String >> messageUriEn, System::ArrayPtr< System::String > & movedMessageIds, System::ArrayPtr< System::String > & failedMessageIds, System::ArrayPtr< System::String > & errorMessages)
ParameterDescription
isJunkIndicates, whether messages is marked as junk mail. If value of true adds message sender to the block-list. If value of false removes message sender from the block-list.
moveItemIndicates, whether messages is moved to the junk mail folder.
messageUriEnEnumeration of message uri
movedMessageIdsReturns the array of message ID which are moved to the junk mail folder.
failedMessageIdsReturns the array of message ID which haven’t been moved to the junk mail folder.
errorMessagesError messages for failed operations

MarkAsJunk (4 of 5)

The MarkAsJunk method moves mail messages to the junk mail folder and blocks message sender.

Returns: Returns the array of message ID which are moved to the junk mail folder.

MarkAsJunk(bool isJunk, const System::ArrayPtr< System::String > & messageUriEn)
ParameterDescription
isJunkIndicates, whether messages is marked as junk mail. If value of true adds message sender to the block-list. If value of false removes message sender from the block-list.
messageUriEnArray of message uri

MarkAsJunk (5 of 5)

The MarkAsJunk method moves mail messages to the junk mail folder and blocks message sender.

Returns: Returns the item ID of the message marked as junk mail.

MarkAsJunk(bool isJunk, System::SharedPtr < System::Collections::Generic::IEnumerable< System::String >> messageUriEn)
ParameterDescription
isJunkIndicates, whether messages is marked as junk mail. If value of true adds message sender to the block-list. If value of false removes message sender from the block-list.
messageUriEnEnumeration of message uri