Email 数据接收器
描述
将接收的数据作为文件发送到电子邮件
支持版本
测试版本:1.5.6(供参考)
主要特性
选项
名称 | 类型 | 是否必须 | 默认值 |
---|---|---|---|
email_from_address | string | 是 | - |
email_to_address | string | 是 | - |
email_host | string | 是 | - |
email_transport_protocol | string | 是 | - |
email_smtp_auth | boolean | 是 | - |
email_smtp_port | int | 否 | 465 |
email_authorization_code | string | 否 | - |
email_message_headline | string | 是 | - |
email_message_content | string | 是 | - |
common-options | 否 | - |
email_from_address [string]
发件人邮箱地址
email_to_address [string]
接收邮件的地址,支持多个邮箱地址,以逗号(,)分隔。
email_host [string]
连接的SMTP服务器地址
email_transport_protocol [string]
加载会话的协议
email_smtp_auth [boolean]
是否对客户进行认证
email_smtp_port [int]
选择用于身份验证的端口。
email_authorization_code [string]
授权码,您可以从邮箱设置中获取授权码
email_message_headline [string]
邮件的标题
email_message_content [string]
邮件消息的正文
common options
Sink插件常用参数,请参考 Sink常用选项 了解详情.
示例
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=""
}
变更日志
Change Log
Change | Commit | Version |
---|---|---|
[Improve] restruct connector common options (#8634) | https://github.com/apache/seatunnel/commit/f3499a6eeb | dev |
[Improve][Transform] Rename sql transform table name from 'fake' to 'dual' (#8298) | https://github.com/apache/seatunnel/commit/e6169684fb | 2.3.9 |
[Feature][Core] Rename result_table_name /source_table_name to plugin_input/plugin_output (#8072) | https://github.com/apache/seatunnel/commit/c7bbd322db | 2.3.9 |
[Feature][Restapi] Allow metrics information to be associated to logical plan nodes (#7786) | https://github.com/apache/seatunnel/commit/6b7c53d03c | 2.3.9 |
[Improve][Connector-V2]Support multi-table sink feature for email (#7368) | https://github.com/apache/seatunnel/commit/c880b7aa4d | 2.3.8 |
[Improve][Common] Adapt FILE_OPERATION_FAILED to CommonError (#5928) | https://github.com/apache/seatunnel/commit/b3dc0bbc21 | 2.3.4 |
[Feature][Engine] Unify job env parameters (#6003) | https://github.com/apache/seatunnel/commit/2410ab38f0 | 2.3.4 |
[Improve][Common] Introduce new error define rule (#5793) | https://github.com/apache/seatunnel/commit/9d1b2582b2 | 2.3.4 |
[Improve] Remove use SeaTunnelSink::getConsumedType method and mark it as deprecated (#5755) | https://github.com/apache/seatunnel/commit/8de7408100 | 2.3.4 |
[Improve][build] Give the maven module a human readable name (#4114) | https://github.com/apache/seatunnel/commit/d7cd601051 | 2.3.1 |
[Improve][Project] Code format with spotless plugin. (#4101) | https://github.com/apache/seatunnel/commit/a2ab166561 | 2.3.1 |
[Improve][Connector-V2][Email] Unified exception for email connector (#3898) | https://github.com/apache/seatunnel/commit/829261e1a6 | 2.3.1 |
[Hotfix][OptionRule] Fix option rule about all connectors (#3592) | https://github.com/apache/seatunnel/commit/226dc6a119 | 2.3.0 |
[Connector][Email] Add Email Sink Factory (#3326) | https://github.com/apache/seatunnel/commit/0645d11180 | 2.3.0 |
[Improve][all] change Log to @Slf4j (#3001) | https://github.com/apache/seatunnel/commit/6016100f12 | 2.3.0-beta |
[#2606]Dependency management split (#2630) | https://github.com/apache/seatunnel/commit/fc047be69b | 2.2.0-beta |
[Connector-V2] Add Email sink connector (#2304) | https://github.com/apache/seatunnel/commit/96f2a15e4d | 2.2.0-beta |