Skip to main content
Version: Next

Email

Email sink connector

Description

Send the data as a file to email.

The tested email version is 1.5.6.

Key features

Options

nametyperequireddefault value
email_from_addressstringyes-
email_to_addressstringyes-
email_hoststringyes-
email_transport_protocolstringyes-
email_smtp_authbooleanyes-
email_smtp_portintno465
email_authorization_codestringno-
email_message_headlinestringyes-
email_message_contentstringyes-
common-optionsno-

email_from_address [string]

Sender Email Address.

email_to_address [string]

Address to receive mail, Support multiple email addresses, separated by commas (,).

email_host [string]

SMTP server to connect to.

email_transport_protocol [string]

The protocol to load the session .

email_smtp_auth [boolean]

Whether to authenticate the customer.

email_smtp_port [int]

Select port for authentication.

email_authorization_code [string]

authorization code,You can obtain the authorization code from the mailbox Settings.

email_message_headline [string]

The subject line of the entire message.

email_message_content [string]

The body of the entire message.

common options

Sink plugin common parameters, please refer to Sink Common Options for details.

Example


EmailSink {
email_from_address = "xxxxxx@qq.com"
email_to_address = "xxxxxx@163.com"
email_host="smtp.qq.com"
email_transport_protocol="smtp"
email_smtp_auth="true"
email_authorization_code=""
email_message_headline=""
email_message_content=""
}

Changelog

2.2.0-beta 2022-09-26

  • Add Email Sink Connector