email

package
v0.1.43 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func SendEmail

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

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

func SetupEmail

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

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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