email

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 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 SendSitesAccessGranted added in v0.0.14

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

SendSitesAccessGranted sends an email about granted Sites 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