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