Inbound E-mail component
The Inbound E-mail component can be used to retrieve e-mail messages or attachments from an inbox. After retrieving such messages or attachments, they are sent to the next component in the flow.
Each attachment is sent as a single message.
The original file name of an attachment is stored in the header named CamelFileName
.
Configuration
The Inbound E-mail component has the following configuration options:
Property | Description |
---|---|
Protocol | The protocol that is used to connect to the e-mail server |
Host | The hostname of the e-mail server |
Port | The port of the e-mail server |
Username | The username used to log onto the e-mail server |
Password | The password used to log onto the e-mail server |
Content | Indicates whether message bodies or attachment should be retrieved |
Unseen | Indicates whether only unread messages should be retrieved |
Polling Interval | The number of milliseconds between each check for new e-mail messages |
Search Subject | An optional string that should occur in the subject of e-mails |
Search Body | An optional string that should occur in the body of e-mails |
Search From | An optional pattern describing the recipients of e-mails |
Search To | An optional pattern describing the sender of e-mails |
The JavaMail API is used to search for e-mail messages. According to its documentation, the search capabilities depend on the protocol, provider, and server in use. In general, all of the string patterns supported by search terms are just simple strings; no regular expressions are supported.
Remarks
- The
Unseen
option only applies for theIMAP
andIMAPS
protocol.
Custom SSL Certificates
It can be the case that the mailbox you are trying to reach uses an SSL Certificate (IMAPS
/ POP3S
), this is not a problem for Dovetail as long as it is signed by a default trusted certificate authority.
When the mailbox uses a self-signed
certificate, or a certificate not signed by a default trusted certificate authority, the certificate should be retrieved and imported into Dovetail. Unfortunately to date, this has to be done manually by the support staff of Dovetail, please contact your Dovetail provider when necessary.