package
0.6.0
Repository: https://github.com/devshell/gophish.git
Documentation: pkg.go.dev

# Functions

NewMailWorker returns an instance of MailWorker with the mail queue initialized.

# Variables

Mailer is a global instance of the mailer that can be used in applications.
MaxReconnectAttempts is the maximum number of times we should reconnect to a server.

# Structs

ErrMaxConnectAttempts is thrown when the maximum number of reconnect attempts is reached.
MailWorker is the worker that receives slices of emails on a channel to send.

# Interfaces

Dialer dials to an SMTP server and returns the SendCloser.
Mail is an interface that handles the common operations for email messages.
Sender exposes the common operations required for sending email.