Versions in this module Expand all Collapse all v0 v0.1.0 Jul 23, 2020 Changes in this version + var ErrFinal = errors.New("smtpclient: final error") + var ErrNoAuth = errors.New("smtpclient: no AUTH") + var ErrNoHost = errors.New("smtpclient: no host") + var ErrNoTLS = errors.New("smtpclient: no TLS") + var ErrRetry = errors.New("smtpclient: retry") + func GetMailDomain(addr string) string + func LookupMX(domain string) string + type MailClient struct + CACert []byte + HeloHost string + LastError error + LastErrorCode int + NoSSL bool + Password string + Port int + SmartHost string + User string + func (mc *MailClient) SendMail(to, from string, mail []byte) error