mails

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 13 Imported by: 32

Documentation

Overview

Package mails implements various helper methods for sending user and admin emails like forgotten password, verification, etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendAdminPasswordReset

func SendAdminPasswordReset(app core.App, admin *models.Admin) error

SendAdminPasswordReset sends a password reset request email to the specified admin.

func SendRecordChangeEmail added in v0.8.0

func SendRecordChangeEmail(app core.App, record *models.Record, newEmail string) error

SendUserChangeEmail sends a change email confirmation email to the specified user.

func SendRecordPasswordReset added in v0.8.0

func SendRecordPasswordReset(app core.App, authRecord *models.Record) error

SendRecordPasswordReset sends a password reset request email to the specified user.

func SendRecordVerification added in v0.8.0

func SendRecordVerification(app core.App, authRecord *models.Record) error

SendRecordVerification sends a verification request email to the specified user.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL