Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentLoginToken ¶
ContentLoginToken defines content for login token email template.
type Mailer ¶
type Mailer struct {
// contains filtered or unexported fields
}
Mailer is a SMTP mailer.
func (*Mailer) LoginToken ¶
func (m *Mailer) LoginToken(name, address string, content ContentLoginToken) error
LoginToken creates and sends a login token email with provided template content.
Click to show internal directories.
Click to hide internal directories.