mails

package
v0.0.0-...-6b390a6 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2023 License: MIT Imports: 13 Imported by: 0

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

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

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

func SendRecordPasswordReset

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

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

func SendRecordVerification

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