Versions in this module Expand all Collapse all v0 v0.0.4 Jan 5, 2021 Changes in this version + func ValidateHostAndUser(serverHostName, serverMailAddress, email string) error + func ValidateMX(email string) error v0.0.3 Aug 3, 2020 Changes in this version + var ErrBadFormat = errors.New("invalid format") + var ErrUnresolvableHost = errors.New("unresolvable host") + func DialTimeout(addr string, timeout time.Duration) (*smtp.Client, error) + func ValidateFormat(email string) error + func ValidateHost(email string) error + type SmtpError struct + Err error + func NewSmtpError(err error) SmtpError + func (e SmtpError) Code() string + func (e SmtpError) Error() string