mails

package
v0.0.0-...-49190db Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: MIT Imports: 10 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 SendUserChangeEmail

func SendUserChangeEmail(app core.App, user *models.User, newEmail string) error

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

func SendUserPasswordReset

func SendUserPasswordReset(app core.App, user *models.User) error

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

func SendUserVerification

func SendUserVerification(app core.App, user *models.User) error

SendUserVerification 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