Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrActionAborted = &smtp.SMTPError{ Code: 451, EnhancedCode: smtp.EnhancedCode{4, 5, 1}, Message: "Action aborted: Local error in processing", } Code: 550, EnhancedCode: smtp.EnhancedCode{5, 5, 0}, Message: "Requested action not taken: mailbox unavailable", } ErrBadSequence = &smtp.SMTPError{ Code: 503, EnhancedCode: smtp.EnhancedCode{5, 0, 3}, Message: "Bad sequence of commands", } )
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct{}
the backend implements SMTP server methods
func (*Backend) NewSession ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func NewSession ¶
func NewSession() *Session
Click to show internal directories.
Click to hide internal directories.