Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLocalErrorInProcessingError = &smtp.SMTPError{
Code: 451,
EnhancedCode: smtp.EnhancedCodeNotSet,
Message: "Local error in processing",
}
View Source
var ErrRequestedActioNotTaken = &smtp.SMTPError{
Code: 553,
EnhancedCode: smtp.EnhancedCodeNotSet,
Message: "Requested action not taken: mailbox name not allowed",
}
View Source
var ErrServiceNotAvailable = &smtp.SMTPError{
Code: 421,
EnhancedCode: smtp.EnhancedCodeNotSet,
Message: "Service not available",
}
View Source
var ErrTransactionFailed = &smtp.SMTPError{
Code: 554,
EnhancedCode: smtp.EnhancedCode{5, 0, 0},
Message: "Error: transaction failed",
}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Context context.Context Logger logrus.FieldLogger Router Router ReadTimeout time.Duration WriteTimeout time.Duration MaxMessageBytes int MaxRecipients int LMTP bool }
Config bundles dagent configuration settings.
type DAgent ¶
type DAgent struct {
// contains filtered or unexported fields
}
func (*DAgent) AnonymousLogin ¶
func (*DAgent) Login ¶
func (*DAgent) Serve ¶
Serve accepts incoming connections on the Listener l.
type Route ¶
type Router ¶
Click to show internal directories.
Click to hide internal directories.