Documentation ¶ Index ¶ func StartListner(port string, token string, serverName string, to string) type Mailer func NewMailer() (*Mailer, error) func (m *Mailer) Send(from string, to string, subject string, body string) error func (m *Mailer) Teardown() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func StartListner ¶ func StartListner(port string, token string, serverName string, to string) Types ¶ type Mailer ¶ type Mailer struct { Client *smtp.Client } func NewMailer ¶ func NewMailer() (*Mailer, error) func (*Mailer) Send ¶ func (m *Mailer) Send(from string, to string, subject string, body string) error func (*Mailer) Teardown ¶ func (m *Mailer) Teardown() error Source Files ¶ View all Source files client.gosmtp.go Click to show internal directories. Click to hide internal directories.