Versions in this module Expand all Collapse all v1 v1.0.1 Oct 21, 2020 v1.0.0 Nov 7, 2017 Changes in this version + const A_LEVEL_DEBUG + const A_LEVEL_ERROR + const A_LEVEL_INFO + const A_LEVEL_SUCCESS + const A_LEVEL_WARM + const CONTENT_TYPE_HTML + const CONTENT_TYPE_TEXT + var ERR_NO_SEND_LIST = errors.New("no found send list") + func LoginAuth(username, password string) smtp.Auth + func SendMail(account Account, title, body string, send_to ...string) error + func SetContent(content string) []byte + type Account struct + Auth smtp.Auth + Host string + Nickname string + Password string + Username string + func NewAccount(user, nick, passwd, host string, auth ...smtp.Auth) *Account + func (a *Account) CRAMMD5Auth(secret string) smtp.Auth + func (a *Account) LoginAuth() smtp.Auth + func (a *Account) PlainAuth() smtp.Auth + type Email struct