# Packages
Package chaos is used to simulate Chaos engineering (random failures) in the SMTPD server.
# Functions
Listen starts the SMTPD server.
ListenAndServe listens on the TCP network address addr and then calls Serve with handler to handle requests on incoming connections.
ListenAndServeTLS listens on the TCP network address addr and then calls Serve with handler to handle requests on incoming connections.
LoginAuth authentication.
Relay will connect to a pre-configured SMTP server and send a message to one or more recipients.
SaveToDatabase will attempt to save a message to the database.
# Variables
Debug `true` enables verbose logging.
DisableReverseDNS allows rDNS to be disabled.
ErrServerClosed is the default message when a server closes a connection.
# Type aliases
AuthHandler function called when a login attempt is performed.
Handler function called upon successful receipt of an email.
HandlerRcpt function called on RCPT.
LogFunc is a function capable of logging the client-server communication.
MsgIDHandler function called upon successful receipt of an email.