Documentation ¶
Index ¶
- func AliSendMail(to, fromUser, subject, body, mailType string, options ...string) error
- func AwsSendMail(to, fromUser, subject, body, mailType string, options ...string) error
- func FetchInvalidEmails() (rs []string, err error)
- func LoginAuth(username, password string) smtp.Auth
- func SendMail(to, fromUser, subject, body, mailType string, options ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AliSendMail ¶
SendMail need following config in config.json:
"email": { "account": "xxx@xxx.com", "pwd": "xxx", "host": "smtpdm.xxx.com:25" },
func AwsSendMail ¶
AwsSendMail need config:
"email": { "account": "xxx@xxx.com", "accessKey": "xxx", "accessSecret": "xxx", "region": "xxx" },
func FetchInvalidEmails ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.