Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dialer ¶ added in v1.0.0
type Dialer struct { Host string // smtp.xxx.com Port int // 端口号 UserName string // 发信账号 Password string // 发信密码 FromName string // 发信人名称 }
func NewDefaultDialer ¶ added in v1.0.0
func NewDefaultDialer() *Dialer
type Message ¶ added in v1.0.0
func NewMessage ¶ added in v1.0.0
type OptionFunc ¶
type OptionFunc func(msg *gomail.Message)
Click to show internal directories.
Click to hide internal directories.