Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotSupportAuth auth failed error ErrNotSupportAuth = errors.New("smtp: server doesn't support AUTH") // ErrNoReceiver reciver is empty error ErrNoReceiver = errors.New("mail: no receiver") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { To []string `json:"to"` SMTP SmtpConfig `json:"SMTP"` }
Config smtp config
func LoadConfig ¶
LoadConfig if Email config exists, return email config
Click to show internal directories.
Click to hide internal directories.