Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidFormat = errors.New("invalid format") ErrDomainRequired = errors.New("domain is required") )
Functions ¶
func ValidateHost ¶
ValidateHost validate mail host. This function checks emails hosts mx record and try connect to smtp server with timeout.
func ValidateMX ¶
ValidateMX validate if MX record exists for a domain
func ValidateUser ¶
ValidateUser validate mail host and user. If host is valid, requires valid SMTP [1] serverHostName and serverMailAddress to reverse validation for prevent SPAN and BOTS.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.