Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMTPMailer ¶
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 ¶
func (s SMTPMailer) Send(htmlBody, subject, from, to string, attachments []mailer.Attachment) error
Click to show internal directories.
Click to hide internal directories.