Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendEmail ¶
func SendEmail(opts *EmailOptions) error
func ShutdownWorker ¶
func ShutdownWorker()
func StartWorker ¶
func StartWorker() error
Types ¶
type EmailOptions ¶
type EmailOptions struct { // The name of the Club, Society, or Project the website relates to CSP string // The email address to send to Email string // The email name of the recipient (i.e. shown alongside the email address in the From field) EmailName string // The first name of the recipient FirstName string // The website folder (same as the site name) Folder string // Subject of the email Subject string // The type of email to send. Should be one of "granted", "revoked", or "test" Type string }
Click to show internal directories.
Click to hide internal directories.