email

package
v0.0.0-...-7b3a301 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 9 Imported by: 0

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
}

Jump to

Keyboard shortcuts

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