...
- Configure an email polling service.
- Configure a file collector to gather details of the email message (the body) and any attached files.
Set up service to poll an email account for new messages
Full details for this configuration can be found in emailAccount, but in this article we will cover some common examples.
...
Example Settings using IMAP / Office 365
With the IMAP protocol, a subfolder can be specified, as in the example below. But if you leave Folder blank, emails will be read directory from the Inbox.
Set up file collector to load email messages and/or attachments
...
The file collector will need to have the following settings (see also the screen shot below):
Field | Value | ||||
---|---|---|---|---|---|
Source Type | Managed File | ||||
File Type | The type of the attached file, or for reading the email message itself (the body), probably CSV | ||||
File Location Strategy | All Files in Folder | ||||
Tag | If a tag is being set (see below), the tag name surrounded by double quotes. E.g.:
If a tag is not being set:
| ||||
Input Directory Expr. |
| ||||
Directory Pattern Expression |
| ||||
File Pattern Expression | A pattern to match attached files, e.g. to find attached files with names like
or if you want to read in the email messages (body) this will be just
| ||||
Archive Directory Expression |
|
Setting a tag
You can set a tag for the emails by including
...