Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Mail = &MailService{C: make(chan MailInfo)}
)
Functions ¶
This section is empty.
Types ¶
type MailService ¶
type MailService struct {
C chan MailInfo
}
邮件发送服务
func (*MailService) SendMail ¶
func (this *MailService) SendMail(rcpt, title, context string)
异步发送 默认尝试5次
func (*MailService) SendMailSync ¶
func (this *MailService) SendMailSync(rcpt, title, context string, maxtries int) error
同步发送
Click to show internal directories.
Click to hide internal directories.