Documentation ¶
Overview ¶
Package mails implements various helper methods for sending user and admin emails like forgotten password, verification, etc.
Index ¶
- func SendAdminPasswordReset(app core.App, admin *models.Admin) error
- func SendRecordChangeEmail(app core.App, record *models.Record, newEmail string) error
- func SendRecordPasswordLoginAlert(app core.App, authRecord *models.Record, providerNames ...string) error
- func SendRecordPasswordReset(app core.App, authRecord *models.Record) error
- func SendRecordVerification(app core.App, authRecord *models.Record) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendAdminPasswordReset ¶
SendAdminPasswordReset sends a password reset request email to the specified admin.
func SendRecordChangeEmail ¶
SendRecordChangeEmail sends a change email confirmation email to the specified user.
func SendRecordPasswordLoginAlert ¶
func SendRecordPasswordLoginAlert(app core.App, authRecord *models.Record, providerNames ...string) error
@todo remove after the refactoring
SendRecordPasswordLoginAlert sends a OAuth2 password login alert to the specified auth record.
func SendRecordPasswordReset ¶
SendRecordPasswordReset sends a password reset request email to the specified user.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.