email

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DbFlag = make(map[string]bool)

Functions

func GenUUID

func GenUUID() string

GenUUID generates a UUID and returns it.

func SendEmail added in v1.0.0

func SendEmail(template_name string, param ...interface{}) (err error)

SendEmail combines a base template name with globacl configuration on where to find the templates and turns that into all the parts of an email, then calls SendEmailViaSendgrid to send the email.

func SendEmailViaSendgrid added in v1.0.0

func SendEmailViaSendgrid(fromName, fromAddress, subject, toName, toAddress, textBody, htmlBody string)

func SetupEmail added in v1.0.0

func SetupEmail(gcfg *data.BaseConfigType, db map[string]bool, f *os.File)

Types

This section is empty.

Directories

Path Synopsis
aws-ses module

Jump to

Keyboard shortcuts

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