Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMTPClient ¶
func (SMTPClient) SMTPSendEmail ¶
func (s SMTPClient) SMTPSendEmail(userNikeName, to, subject, format, body string) error
*
- @Description 通过smtp发送邮件
- @param to 接收方邮箱,如有多个,以;隔开
- @param subject 邮件主题
- @param format 发送格式,可选html和plain
- @param body
- @return error 返回错误
Click to show internal directories.
Click to hide internal directories.