Description:
This processor sends an e-mail to configured recipients for each incoming FlowFile.
Properties:
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. If a property has a default value, it is indicated. If a property supports the use of the NiFi Expression Language (or simply, "expression language"), that is also indicated.
- SMTP Hostname
- The hostname of the SMTP host.
- Default value: no default
- Supports expression language: false
- SMTP Port
- The port used for SMTP communication.
- Default value: 25
- Supports expression language: false
- From
- Specifies the email address to use as the sender.
- Default value: no default
- Supports expression language: true
- To
- The recipients to include in the To line of the email.
- Default value: no default
- Supports expression language: true
- CC
- The recipients to include in the CC line of the email.
- Default value: no default
- Supports expression language: true
- BCC
- The recipients to include in the BCC line of the email.
- Default value: no default
- Supports expression language: true
- Subject
- This content will appear in the email Subject line.
- Default value: Message from NiFi
- Supports expression language: true
- Message
- The body of the email message.
- Default value: no default
- Supports expression language: true
- Attach File
- A Boolean value (true/false), indicating whether to attach the FlowFile content to the email.
- Default value: false
- Supports expression language: false
- Include All Attributes In Message
- A Boolean value (true/false), indicating whether or not all FlowFile attributes should be recorded
in the body of the email message.
- Default value: false
- Supports expression language: false
Relationships:
- failure
- If FlowFiles fail to send, then they follow this relationship.
- success
- If an email is successfully sent for a given FlowFile, then the FlowFile follows this relationship.