Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrClientIsNotValid = errors.New("Client is not valid") ErrYourEmailIsInvalid = errors.New("Your email is invalid") ErrRCPTConnection = errors.New("rcpt connection error") ErrOnDataCommand = errors.New("on data command error") ErrOnWriteData = errors.New("on write data error") ErrOnCloseDataPipe = errors.New("on close data pipe error") )
Xmus errors
View Source
var SampleHolloweenTemplate = `` /* 17856-byte string literal not displayed */
SampleHolloweenTemplate is a sample template for the email
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { Host string `json:"host"` Port int `json:"port"` Password string `json:"password"` From string `json:"from"` }
Auth is the authentication information for the SMTP server
type LeveledLoggerInterface ¶
type LeveledLoggerInterface interface { // Debugf logs a debug message using Printf conventions. Debugf(format string, v ...interface{}) // Errorf logs a warning message using Printf conventions. Errorf(format string, v ...interface{}) // Infof logs an informational message using Printf conventions. Infof(format string, v ...interface{}) // Warnf logs a warning message using Printf conventions. Warnf(format string, v ...interface{}) }
LeveledLoggerInterface is the interface for leveled logger
Click to show internal directories.
Click to hide internal directories.