email

package
v2.4.1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendAccountCreated

func SendAccountCreated(account *data.Account, recipients []string, params map[string]string, conf config.Configuration) error

SendAccountCreated sends an email about account creation.

func SendAlertNotification

func SendAlertNotification(account *data.Account, recipients []string, params map[string]string, conf config.Configuration) error

SendAlertNotification sends an alert via email.

func SendContactForm

func SendContactForm(account *data.Account, recipients []string, params map[string]string, conf config.Configuration) error

SendContactForm sends a generic contact form to the ScienceMesh admins.

func SendGOCDBAccessGranted

func SendGOCDBAccessGranted(account *data.Account, recipients []string, params map[string]string, conf config.Configuration) error

SendGOCDBAccessGranted sends an email about granted GOCDB access.

func SendPasswordReset

func SendPasswordReset(account *data.Account, recipients []string, params map[string]string, conf config.Configuration) error

SendPasswordReset sends an email containing the user's new password.

func SendSiteAccessGranted added in v2.3.0

func SendSiteAccessGranted(account *data.Account, recipients []string, params map[string]string, conf config.Configuration) error

SendSiteAccessGranted sends an email about granted Site access.

Types

type SendFunction

type SendFunction = func(*data.Account, []string, map[string]string, config.Configuration) error

SendFunction is the definition of email send functions.

Jump to

Keyboard shortcuts

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