validateclient

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidEmailAddress = errors.New("invalid_email_address")
	ErrInvalidEmailFormat  = errors.New("invalid_email_format")
	ErrInvalidEmailDNS     = errors.New("invalid_email_dns")
	ErrInvalidEmailMX      = errors.New("invalid_email_mx")
)

Functions

func New

func New(globalConfig *conf.GlobalConfiguration, mc mailer.Client) mailer.Client

New will return a Client that first calls an email validator before passing the mail along to given Client. If email validation is disabled then it returns the same Client passed in mc.

Types

This section is empty.

Jump to

Keyboard shortcuts

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