Versions in this module Expand all Collapse all v1 v1.8.12 Nov 16, 2021 v1.8.11 Nov 15, 2021 Changes in this version + const FieldPMEncrypt + const FieldPMMIMEType + const FieldPMScheme + const FieldPMSign + func NewSMTPBackend(panicHandler panicHandler, eventListener listener.Listener, ...) *smtpBackend + type ContactMetadata struct + Email string + Encrypt bool + Keys []string + MIMEType string + Scheme string + Sign bool + SignIsSet bool + func GetContactMetadataFromVCards(cards []pmapi.Card, email string) (contactMeta *ContactMetadata, err error) + type SendPreferences struct + Encrypt bool + MIMEType string + PublicKey *crypto.KeyRing + Scheme pmapi.PackageFlag + Sign bool + type Server struct + func NewSMTPServer(panicHandler panicHandler, debug bool, port int, useSSL bool, tls *tls.Config, ...) *Server + func (Server) Protocol() serverutil.Protocol + func (s *Server) Address() string + func (s *Server) Close() + func (s *Server) DebugClient() bool + func (s *Server) DebugServer() bool + func (s *Server) DisconnectUser(address string) + func (s *Server) HandlePanic() + func (s *Server) ListenAndServe() + func (s *Server) Serve(l net.Listener) error + func (s *Server) SetLoggers(localDebug, remoteDebug io.Writer) + func (s *Server) StopServe() error + func (s *Server) TLSConfig() *tls.Config + func (s *Server) UseSSL() bool