Documentation ¶
Index ¶
- func SendAccountCreated(account *data.Account, recipients []string, params map[string]string, ...) error
- func SendAlertNotification(account *data.Account, recipients []string, params map[string]string, ...) error
- func SendContactForm(account *data.Account, recipients []string, params map[string]string, ...) error
- func SendGOCDBAccessGranted(account *data.Account, recipients []string, params map[string]string, ...) error
- func SendPasswordReset(account *data.Account, recipients []string, params map[string]string, ...) error
- func SendSiteAccessGranted(account *data.Account, recipients []string, params map[string]string, ...) error
- type SendFunction
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 ¶
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 ¶
SendFunction is the definition of email send functions.
Click to show internal directories.
Click to hide internal directories.