mails

package
v0.0.0-...-18a359a Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 12 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

SendRecordChangeEmail 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