email

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendSMTP

func SendSMTP(to, subject, content, authName, authPass, authAddr, senderName, senderAddr string) (err error)

Send send emails to - the receiver's email subject - the subject content - the email content body authName - SMTP auth name authPass - SMTP auth password authAddr - SMTP auth address senderName - The sender's name senderAddr - The sender's email address

func ValidateFormat

func ValidateFormat(email string) error

ValidateFormat checks whether the email address is valid in format

func ValidateReachability

func ValidateReachability(email string, timeout time.Duration) error

ValidateReachability checks whether the email address is reachable

Types

This section is empty.

Jump to

Keyboard shortcuts

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