Versions in this module Expand all Collapse all v2 v2.0.2 Jun 2, 2023 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