Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrChanNotOpen 邮件队列未开启 ErrChanNotOpen = errors.New("邮件队列未开启") // ErrNoActiveDriver 无可用邮件发送服务 ErrNoActiveDriver = errors.New("无可用邮件发送服务") )
View Source
var Lock sync.RWMutex
Lock 读写锁
Functions ¶
func NewActivationEmail ¶
NewActivationEmail 新建激活邮件
func NewResetEmail ¶
NewResetEmail 新建重设密码邮件
Types ¶
type SMTP ¶
type SMTP struct { Config SMTPConfig // contains filtered or unexported fields }
SMTP SMTP协议发送邮件
Click to show internal directories.
Click to hide internal directories.