Skip to main content

Save attachments

Save an email's file attachments to a folder, optionally only names matching a pattern such as *.pdf.

Command in the Exchange (EWS) toolkit · id ooa.exchange/save_attachments · 6 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
IDStringYesEmail id from Find emails (an EWS item id).
Target folderFileYesFolder to save into.
Name patternStringNo*Only names matching this pattern, e.g. *.pdf.
OverwriteBooleanNofalseReplace files of the same name instead of adding a number such as (2).
Include inlineBooleanNotrueAlso save images embedded in the body, such as signature logos.
SessionStringNoexchangeSession name of the open Exchange mailbox.

Outputs​

OutputTypeWhat it is
filesListSaved file paths.