email

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(emailAddress string, options ...Option) error

Validate validates the email address is RFC5322 Optionally check if we can dial the MX record domains

Types

type Option

type Option func(config *optConfig)

func WithCheckMX

func WithCheckMX() Option

func WithCheckMXTimeout

func WithCheckMXTimeout(duration time.Duration) Option

Jump to

Keyboard shortcuts

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