Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server holds the configuration and state of our SMTP server.
func NewServer ¶
func NewServer( smtpConfig config.SMTP, globalShutdown chan bool, manager message.Manager, apolicy *policy.Addressing, ) *Server
NewServer creates a new Server instance with the specificed config.
type Session ¶
type Session struct { *Server // Server this session belongs to. // contains filtered or unexported fields }
Session holds the state of an SMTP session
func NewSession ¶
NewSession creates a new Session for the given connection
Click to show internal directories.
Click to hide internal directories.