Versions in this module Expand all Collapse all v5 v5.0.0 Jul 12, 2022 Changes in this version + const ErrBlocked + const ErrExceededMessagingLimits + const ErrFullInbox + const ErrMailboxBusy + const ErrNeedMAILBeforeRCPT + const ErrNoRelay + const ErrNoSuchHost + const ErrNotAllowed + const ErrRCPTHasMoved + const ErrServerUnavailable + const ErrTimeout + const ErrTooManyRCPT + const ErrTryAgainLater + func GenerateRandomEmail(domain string) string + func IsAddressValid(email string) bool + type Gravatar struct + GravatarUrl string + HasGravatar bool + type LookupError struct + Details string + Message string + func ParseSMTPError(err error) *LookupError + func (e *LookupError) Error() string + type Mx struct + HasMXRecord bool + Records []*net.MX + type Result struct + Disposable bool + Email string + Free bool + Gravatar *Gravatar + HasMxRecords bool + Reachable string + RoleAccount bool + SMTP *SMTP + Suggestion string + Syntax Syntax + type SMTP struct + CatchAll bool + Deliverable bool + Disabled bool + FullInbox bool + HostExists bool + type Syntax struct + Domain string + Username string + Valid bool + type Verifier struct + func NewVerifier() *Verifier + func (v *Verifier) AddDisposableDomains(domains []string) *Verifier + func (v *Verifier) CheckGravatar(email string) (*Gravatar, error) + func (v *Verifier) CheckMX(domain string) (*Mx, error) + func (v *Verifier) CheckSMTP(domain, username string) (*SMTP, error) + func (v *Verifier) DisableAutoUpdateDisposable() *Verifier + func (v *Verifier) DisableDomainSuggest() *Verifier + func (v *Verifier) DisableGravatarCheck() *Verifier + func (v *Verifier) DisableSMTPCheck() *Verifier + func (v *Verifier) EnableAutoUpdateDisposable() *Verifier + func (v *Verifier) EnableDomainSuggest() *Verifier + func (v *Verifier) EnableGravatarCheck() *Verifier + func (v *Verifier) EnableSMTPCheck() *Verifier + func (v *Verifier) FromEmail(email string) *Verifier + func (v *Verifier) HelloName(domain string) *Verifier + func (v *Verifier) IsDisposable(domain string) bool + func (v *Verifier) IsFreeDomain(domain string) bool + func (v *Verifier) IsRoleAccount(username string) bool + func (v *Verifier) ParseAddress(email string) Syntax + func (v *Verifier) Proxy(proxyURI string) *Verifier + func (v *Verifier) SuggestDomain(domain string) string + func (v *Verifier) Verify(email string) (*Result, error) Other modules containing this package github.com/alihasan070707/email-verifier/v11 github.com/alihasan070707/email-verifier/v6 github.com/alihasan070707/email-verifier/v7 github.com/alihasan070707/email-verifier/v8