EmailRecordSink

Description:

Provides a RecordSinkService that can be used to send records in email using the specified writer for formatting.

Tags:

email, smtp, record, sink, send, write

Properties:

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 NameAPI NameDefault ValueAllowable ValuesDescription
FromfromSpecifies the Email address to use as the sender. Comma separated sequence of addresses following RFC822 syntax.
Supports Expression Language: true (will be evaluated using Environment variables only)
TotoThe 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 Environment variables only)
CCccThe 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 Environment variables only)
BCCbccThe 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 Environment variables only)
SubjectsubjectMessage from NiFiThe email subject
Supports Expression Language: true (will be evaluated using Environment variables only)
SMTP Hostnamesmtp-hostnameThe hostname of the SMTP Server that is used to send Email Notifications
SMTP Portsmtp-port25The Port used for SMTP communications
Supports Expression Language: true (will be evaluated using Environment variables only)
SMTP Authsmtp-authtrueFlag indicating whether authentication should be used
Supports Expression Language: true (will be evaluated using Environment variables only)
SMTP Usernamesmtp-usernameUsername for the SMTP account
Supports Expression Language: true (will be evaluated using Environment variables only)

This Property is only considered if the [SMTP Auth] Property
SMTP Passwordsmtp-passwordPassword for the SMTP account
Sensitive Property: true
Supports Expression Language: true (will be evaluated using Environment variables only)

This Property is only considered if the [SMTP Auth] Property
SMTP STARTTLSsmtp-starttlsfalseFlag 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 Environment variables only)
SMTP SSLsmtp-sslfalseFlag indicating whether SSL should be enabled
Supports Expression Language: true (will be evaluated using Environment variables only)
SMTP X-Mailer Headersmtp-xmailer-headerNiFiX-Mailer used in the header of the outgoing email
Supports Expression Language: true (will be evaluated using Environment variables only)
Record Writerrecord-sink-record-writerController Service API:
RecordSetWriterFactory
Implementations: XMLRecordSetWriter
FreeFormTextRecordSetWriter
AvroRecordSetWriter
ScriptedRecordSetWriter
JsonRecordSetWriter
ParquetRecordSetWriter
RecordSetWriterLookup
CSVRecordSetWriter
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:

None specified.