Sink plugin : Email [Spark]
Descriptionâ
Supports data output through email attachments
. The attachments are in the xlsx
format that supports excel
to open, which can be used to notify the task statistics results through email attachments.
Optionsâ
name | type | required | default value |
---|---|---|---|
subject | string | yes | - |
from | string | yes | - |
to | string | yes | - |
bodyText | string | no | - |
bodyHtml | string | no | - |
cc | string | no | - |
bcc | string | no | - |
host | string | yes | - |
port | string | yes | - |
password | string | yes | - |
limit | string | no | 100000 |
subject [string]â
Email Subject
from [string]â
Email sender
to [string]â
Email recipients, multiple recipients separated by ,
bodyText [string]â
Email content, text format
bodyHtml [string]â
Email content, hypertext content
cc [string]â
Email CC, multiple CCs separated by ,
bcc [string]â
Email Bcc, multiple Bccs separated by ,
host [string]â
Email server address, for example: stmp.exmail.qq.com
port [string]â
Email server port For example: 25
password [string]â
The password of the email sender, the user name is the sender specified by from
limit [string]â
The number of data is limited, the default is 100000
Examplesâ
Email {
subject = "Report statistics",
from = "xxxx@qq.com",
to = "xxxxx1@qq.com,xxxxx2@qq.com",
cc = "xxxxx3@qq.com,xxxxx4@qq.com",
bcc = "xxxxx5@qq.com,xxxxx6@qq.com",
host= "stmp.exmail.qq.com",
port= "25",
password = "***********",
limit = "1000"
}