emailutil

package
v0.0.0-...-4be01c1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidEmail = errors.New("Not a valid email address")
	ErrPartialEmail = errors.New("Email address isn't complete")
)

Functions

func HasMX

func HasMX(email string) bool

func HostDomainFromDomain

func HostDomainFromDomain(domain string) (string, error)

func IsDisposableEmailAddress

func IsDisposableEmailAddress(email string) bool

func IsValidEmailAddress

func IsValidEmailAddress(email string) bool

func Split

func Split(email string) (local string, domain string, err error)

func SplitPartial

func SplitPartial(email string) (local string, domain string, isPartial bool, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL