EmailRecordSink
Description
Provides a RecordSinkService that can be used to send records in email using the specified writer for formatting.
Tags
email, record, send, sink, smtp, write
Properties
In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
From * | from | Specifies the Email address to use as the sender. Comma separated sequence of addresses following RFC822 syntax. Supports Expression Language, using Environment variables. | ||
To | to | The recipients to include in the To-Line of the email. Comma separated sequence of addresses following RFC822 syntax. Supports Expression Language, using Environment variables. | ||
CC | cc | The recipients to include in the CC-Line of the email. Comma separated sequence of addresses following RFC822 syntax. Supports Expression Language, using Environment variables. | ||
BCC | bcc | The recipients to include in the BCC-Line of the email. Comma separated sequence of addresses following RFC822 syntax. Supports Expression Language, using Environment variables. | ||
Subject * | subject | Message from NiFi | The email subject Supports Expression Language, using Environment variables. | |
SMTP Hostname * | smtp-hostname | The hostname of the SMTP Server that is used to send Email Notifications | ||
SMTP Port * | smtp-port | 25 | The Port used for SMTP communications Supports Expression Language, using Environment variables. | |
SMTP Auth * | smtp-auth | true | Flag indicating whether authentication should be used Supports Expression Language, using Environment variables. | |
SMTP Username | smtp-username | Username for the SMTP account Supports Expression Language, using Environment variables. This property is only considered if:
| ||
SMTP Password | smtp-password | Password for the SMTP account Supports Expression Language, using Environment variables. This property is only considered if:
| ||
SMTP STARTTLS * | smtp-starttls | false | Flag indicating whether STARTTLS should be enabled. If the server does not support STARTTLS, the connection continues without the use of TLS Supports Expression Language, using Environment variables. | |
SMTP SSL * | smtp-ssl | false | Flag indicating whether SSL should be enabled Supports Expression Language, using Environment variables. | |
SMTP X-Mailer Header * | smtp-xmailer-header | NiFi | X-Mailer used in the header of the outgoing email Supports Expression Language, using Environment variables. | |
Record Writer * | record-sink-record-writer | Controller Service: RecordSetWriterFactory Implementations: AvroRecordSetWriter CSVRecordSetWriter FreeFormTextRecordSetWriter JsonRecordSetWriter RecordSetWriterLookup ScriptedRecordSetWriter XMLRecordSetWriter | Specifies the Controller Service to use for writing out the records. |
State Management
This component does not store state.
Restricted
This component is not restricted.
System Resource Considerations
This component does not specify system resource considerations.