Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMTPClient ¶
type SMTPClient struct { User string // user@exmaple.com Server string // smtp.exmaple.com:25 or ssl smtp.exmaple.com:465 EnableSSL bool // 465 port ssl conn // contains filtered or unexported fields }
邮件发送
func NewSMTPClient ¶
func NewSMTPClient(user, pass string, ssl bool, server string) (this *SMTPClient)
初始化
Click to show internal directories.
Click to hide internal directories.