Reads an IMAP mailbox and saves the attachments from all new mails into a folder. Which mails are "new" is remembered via the mail's IMAP id, so repeated runs only fetch what has arrived since last time – without marking or moving anything in the mailbox. The first run fetches the most recent FirstSyncDays days.
Parameter | Explanation |
Host | The IMAP server host name, e.g. |
Port | IMAP port. Usually 993 (SSL) or 143. |
UseSsl |
|
UserName | User name / e-mail address for the mailbox. |
Password | Password. Stored encrypted in Windows Credential Manager – never in clear text. |
AttachmentPath | Folder where attachments are saved. Created if it does not exist. |
FirstSyncDays | Number of days back fetched on the first run. |
Folder | Mailbox folder to read from. Empty = Inbox. |
FromFilter | Optional: only fetch mails where the sender contains this text. |
SubjectFilter | Optional: only fetch mails where the subject contains this text. |
MoveToFolder | Optional: move processed mails to this folder. Empty = not moved. |
AttachmentExtensions | Optional: only save certain file types, e.g. |
The action runs as a step in a SyncTool configuration. You configure the step's settings (e.g. server, login, path, format or SQL depending on the action) and run the configuration. The action fetches the data it needs from Sapera or the external source itself – you do not map source columns as you would for a regular import.{params}
See also the overview SyncTool – actions.