

    Variables
    func SendMail(addr string, a sasl.Client, from string, to []string, r io.Reader) error
    func SendMailTLS(addr string, a sasl.Client, from string, to []string, r io.Reader) error
    type AuthSession
    type Backend
    type BackendFunc
        func (f BackendFunc) NewSession(c *Conn) (Session, error)
    type BodyType
    type Client
        func Dial(addr string) (*Client, error)
        func DialStartTLS(addr string, tlsConfig *tls.Config) (*Client, error)
        func DialTLS(addr string, tlsConfig *tls.Config) (*Client, error)
        func NewClient(conn net.Conn) *Client
        func NewClientLMTP(conn net.Conn) *Client
        func NewClientStartTLS(conn net.Conn, tlsConfig *tls.Config) (*Client, error)
        func (c *Client) Auth(a sasl.Client) error
        func (c *Client) Close() error
        func (c *Client) Data() (*DataCommand, error)
        func (c *Client) Extension(ext string) (bool, string)
        func (c *Client) Hello(localName string) error
        func (c *Client) Mail(from string, opts *MailOptions) error
        func (c *Client) MaxMessageSize() (size int, ok bool)
        func (c *Client) Noop() error
        func (c *Client) Quit() error
        func (c *Client) Rcpt(to string, opts *RcptOptions) error
        func (c *Client) Reset() error
        func (c *Client) SendMail(from string, to []string, r io.Reader) error
        func (c *Client) SupportsAuth(mech string) bool
        func (c *Client) TLSConnectionState() (state tls.ConnectionState, ok bool)
        func (c *Client) Verify(addr string) error
    type Conn
        func (c *Conn) Close() error
        func (c *Conn) Conn() net.Conn
        func (c *Conn) Hostname() string
        func (c *Conn) Reject()
        func (c *Conn) Server() *Server
        func (c *Conn) Session() Session
        func (c *Conn) TLSConnectionState() (state tls.ConnectionState, ok bool)
    type DSNAddressType
    type DSNNotify
    type DSNReturn
    type DataCommand
        func (cmd *DataCommand) Close() error
        func (cmd *DataCommand) CloseWithLMTPResponse() (map[string]*DataResponse, error)
        func (cmd *DataCommand) CloseWithResponse() (*DataResponse, error)
        func (cmd *DataCommand) Write(b []byte) (int, error)
    type DataResponse
    type DeliverByMode
    type DeliverByOptions
    type EnhancedCode
    type LMTPDataError
        func (lmtpErr LMTPDataError) Error() string
        func (lmtpErr LMTPDataError) Unwrap() []error
    type LMTPSession
    type Logger
    type MailOptions
    type PriorityProfile
    type RcptOptions
    type SMTPError
        func (err *SMTPError) Error() string
        func (err *SMTPError) Temporary() bool
    type Server
        func NewServer(be Backend) *Server
        func (s *Server) Close() error
        func (s *Server) ListenAndServe() error
        func (s *Server) ListenAndServeTLS() error
        func (s *Server) Serve(l net.Listener) error
        func (s *Server) Shutdown(ctx context.Context) error
    type Session
    type StatusCollector
