Download Attachment#

Download the attached file to the user's computer.

Email[Link] The MailItem object that needs to be saved. This email object is obtained in the "Get Emails" block of the Outlook category.
Folder Path[Text] The directory where the specified attachment should be saved.
Filter[Text] Represents a regular expression that is checked against the names of the files being saved. For example, the filter for xlsx files: ".*\.xlsx"
Result[List] A list with the full paths of the saved files.
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 the 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.