Sends an e-mail to configured recipients for each incoming FlowFile
email, put, notify, smtp
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, whether a property supports the NiFi Expression Language, and whether a property is considered "sensitive", meaning that its value will be encrypted. Before entering a value in a sensitive property, ensure that the nifi.properties file has an entry for the property nifi.sensitive.props.key.
Name | Default Value | Allowable Values | Description |
---|---|---|---|
SMTP Hostname | The hostname of the SMTP host Supports Expression Language: true | ||
SMTP Port | 25 | The Port used for SMTP communications Supports Expression Language: true | |
SMTP Username | Username for the SMTP account Supports Expression Language: true | ||
SMTP Password | Password for the SMTP account Sensitive Property: true Supports Expression Language: true | ||
SMTP Auth | true | Flag indicating whether authentication should be used Supports Expression Language: true | |
SMTP TLS | false | Flag indicating whether TLS should be enabled Supports Expression Language: true | |
SMTP Socket Factory | javax.net.ssl.SSLSocketFactory | Socket Factory to use for SMTP Connection Supports Expression Language: true | |
SMTP X-Mailer Header | NiFi | X-Mailer used in the header of the outgoing email Supports Expression Language: true | |
Content Type | text/plain | Mime Type used to interpret the contents of the email, such as text/plain or text/html Supports Expression Language: true | |
From | Specifies the Email address to use as the sender Supports Expression Language: true | ||
To | The recipients to include in the To-Line of the email Supports Expression Language: true | ||
CC | The recipients to include in the CC-Line of the email Supports Expression Language: true | ||
BCC | The recipients to include in the BCC-Line of the email Supports Expression Language: true | ||
Subject | Message from NiFi | The email subject Supports Expression Language: true | |
Message | The body of the email message Supports Expression Language: true | ||
Attach File | false |
| Specifies whether or not the FlowFile content should be attached to the email |
Include All Attributes In Message | false |
| Specifies whether or not all FlowFile attributes should be recorded in the body of the email message |
Name | Description |
---|---|
failure | FlowFiles that fail to send will be routed to this relationship |
success | FlowFiles that are successfully sent will be routed to this relationship |