Move Email via IMAP#

Moves an email to another folder on the server using the IMAP protocol. To move an email, it must be retrieved using the "Get Emails via IMAP" block.

Email[Link] The MailMessage object of the email that needs to be moved. The email must be retrieved using the "Get Emails via IMAP" block.
Destination Folder

[Text] The folder on the mail server to which the email needs to be moved. For example, "Inbox" or "Inbox".

If necessary, specify nested folders using the character '\'. For example, "Inbox\TestFolder".

Error Handling Level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.