Provides a RecordSinkService that can be used to send records in email using the specified writer for formatting.
email, smtp, record, sink, send, write
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, 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: true (will be evaluated using variable registry only) | ||
| To | to | The recipients to include in the To-Line of the email. Comma separated sequence of addresses following RFC822 syntax. Supports Expression Language: true (will be evaluated using variable registry only) | ||
| CC | cc | The recipients to include in the CC-Line of the email. Comma separated sequence of addresses following RFC822 syntax. Supports Expression Language: true (will be evaluated using variable registry only) | ||
| BCC | bcc | The recipients to include in the BCC-Line of the email. Comma separated sequence of addresses following RFC822 syntax. Supports Expression Language: true (will be evaluated using variable registry only) | ||
| Subject | subject | Message from NiFi | The email subject Supports Expression Language: true (will be evaluated using variable registry only) | |
| 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: true (will be evaluated using variable registry only) | |
| SMTP Auth | smtp-auth | true | Flag indicating whether authentication should be used Supports Expression Language: true (will be evaluated using variable registry only) | |
| SMTP Username | smtp-username | Username for the SMTP account Supports Expression Language: true (will be evaluated using variable registry only) This Property is only considered if the [SMTP Auth] Property | ||
| SMTP Password | smtp-password | Password for the SMTP account Sensitive Property: true Supports Expression Language: true (will be evaluated using variable registry only) This Property is only considered if the [SMTP Auth] Property | ||
| 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: true (will be evaluated using variable registry only) | |
| SMTP SSL | smtp-ssl | false | Flag indicating whether SSL should be enabled Supports Expression Language: true (will be evaluated using variable registry only) | |
| SMTP X-Mailer Header | smtp-xmailer-header | NiFi | X-Mailer used in the header of the outgoing email Supports Expression Language: true (will be evaluated using variable registry only) | |
| Record Writer | record-sink-record-writer | Controller Service API: RecordSetWriterFactory Implementations: JsonRecordSetWriter RecordSetWriterLookup AvroRecordSetWriter XMLRecordSetWriter FreeFormTextRecordSetWriter CSVRecordSetWriter ParquetRecordSetWriter ScriptedRecordSetWriter | Specifies the Controller Service to use for writing out the records. |