Documentation ¶
Overview ¶
邮箱相关.
Index ¶
Examples ¶
Constants ¶
View Source
const QQ_MAIL_SERVER string = "smtp.qq.com:587"
QQ邮箱服务器.
Variables ¶
This section is empty.
Functions ¶
func SendMail ¶
func SendMail( server string, account string, password string, to string, subject string, content string) ftype.Error
发送邮件
Example ¶
var e error SendMail( QQ_MAIL_SERVER, "[email protected]", "ddaulujsexzlbidd", "[email protected]", "测试-标题", "测试-内容.", ) fassert.CheckError(e) return
Output:
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.