email

package
v0.0.0-...-876d392 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendErrorEmail

func SendErrorEmail(msg string) error

SendErrorEmail sends an email containing the given message to the address specified as ErrorEmail in the config. If no email address has been set, an error will be returned.

func SendResetEmail

func SendResetEmail(to []string, name, address, resetkey string) error

SendResetEmail sends an email with a reset link to: list of emails name: username of the account with the password reset address: web address of the site to visit to reset the password resetkey: the key needed to reset the password

Types

This section is empty.

Jump to

Keyboard shortcuts

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