Documentation ¶
Overview ¶
Package mails implements various helper methods for sending user and admin emails like forgotten password, verification, etc.
Index ¶
- func SendRecordAuthAlert(app core.App, authRecord *core.Record) error
- func SendRecordChangeEmail(app core.App, authRecord *core.Record, newEmail string) error
- func SendRecordOTP(app core.App, authRecord *core.Record, otpId string, pass string) error
- func SendRecordPasswordReset(app core.App, authRecord *core.Record) error
- func SendRecordVerification(app core.App, authRecord *core.Record) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendRecordAuthAlert ¶ added in v0.23.0
SendRecordAuthAlert sends a new device login alert to the specified auth record.
func SendRecordChangeEmail ¶ added in v0.8.0
SendRecordChangeEmail sends a change email confirmation email to the specified auth record.
func SendRecordOTP ¶ added in v0.23.0
SendRecordOTP sends OTP email to the specified auth record.
func SendRecordPasswordReset ¶ added in v0.8.0
SendRecordPasswordReset sends a password reset request email to the specified auth record.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.