Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mailer ¶
type Mailer struct {
// contains filtered or unexported fields
}
Mailer sends transactional emails via SMTP. Port 587 uses STARTTLS; port 465 uses implicit TLS (SMTPS).
func (*Mailer) SendInvitationEmail ¶
SendInvitationEmail sends an invitation with a link to the web app's registration screen, pre-filled with the invitation token and email.
func (*Mailer) SendTOTPRecoveryEmail ¶
SendTOTPRecoveryEmail sends a one-time link that disables two-factor authentication for the account (used when the authenticator is lost).
func (*Mailer) SendVerificationEmail ¶
SendVerificationEmail sends a one-time email-verification link to toEmail.
Click to show internal directories.
Click to hide internal directories.