cronsun/conf/files/mail.json.sample

17 lines
607 B
Plaintext
Raw Normal View History

2017-04-05 10:12:35 +00:00
{
2017-05-15 09:19:44 +00:00
"Enable": false,
"To": ["na@nb.com"],
"#HttpAPI": "如有此字段,则按 http api 方式发送",
2017-04-05 10:12:35 +00:00
"#Keepalive": "如果此时间段内没有邮件发送,则关闭 SMTP 连接,单位/秒",
2018-02-27 06:36:25 +00:00
"Keepalive": 60,
2017-04-05 10:12:35 +00:00
"#doc": "https://godoc.org/github.com/go-gomail/gomail#Dialer",
"Host": "smtp.exmail.qq.com",
"Port": 25,
"Username": "sendmail@nb.com",
"Password": "nbhh",
"SSL": false,
2018-02-27 06:36:25 +00:00
"#LocalName": "LocalName is the hostname sent to the SMTP server with the HELO command.",
"#LocalName": "By default, "localhost" is sent.",
"LocalName": "localhost"
2017-05-16 02:02:13 +00:00
}