Documentation ¶
Overview ¶
Package emailcheryp
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBadFormat = errors.New("invalid format") ErrUnresolvableDomain = errors.New("unresolvable domain") )
Functions ¶
func DialTimeout ¶
DialTimeout returns a new Client connected to an SMTP server at addr. The addr must include a port, as in "mail.example.com:smtp".
func ValidateFormat ¶
func ValidateLocalAndDomain ¶
ValidateLocalAndDomain validate mail host and user. If host is valid, requires valid SMTP [1] serverHostName and serverMailAddress to reverse validation for prevent SPAN and BOTS. [1] https://mxtoolbox.com/SuperTool.aspx
func ValidateMX ¶
ValidateMX validate if MX record exists for a domain.
Types ¶
Click to show internal directories.
Click to hide internal directories.