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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| ID | String | Yes | Email id from Find emails (an EWS item id). | |
| Target folder | File | Yes | Folder to save into. | |
| Name pattern | String | No | * | Only names matching this pattern, e.g. *.pdf. |
| Overwrite | Boolean | No | false | Replace files of the same name instead of adding a number such as (2). |
| Include inline | Boolean | No | true | Also save images embedded in the body, such as signature logos. |
| Session | String | No | exchange | Session name of the open Exchange mailbox. |
Outputs
| Output | Type | What it is |
|---|---|---|
| files | List | Saved file paths. |