Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMTPMailer ¶ added in v0.4.0
type SMTPMailer struct {
// contains filtered or unexported fields
}
func New ¶
func New(host string, port int, username, password string) SMTPMailer
New creates a new SMTP mailer using the default configuration.
func (SMTPMailer) Send ¶ added in v0.4.0
func (s SMTPMailer) Send(htmlBody, subject, from, to string) error
Click to show internal directories.
Click to hide internal directories.