Documentation ¶
Overview ¶
Package mail provides a light wrapper around SMTP functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRecipientUnsubscribed = errors.New("recipient has requested no email communication")
Functions ¶
Types ¶
type Config ¶
type Config struct { SMTPAddress string `toml:"smtp_address"` SMTPUsername string `toml:"smtp_username"` SMTPPassword string `toml:"smtp_password"` System Recipient `toml:"system"` // The system's address. }
Config describes a Sender's configuration.
Click to show internal directories.
Click to hide internal directories.