mailer

package
v0.0.0-...-0494e13 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//EmailTemplates - email template map
	EmailTemplates = map[string]string{}
)

Functions

func SendNow

func SendNow(emailParam EmailParam)

SendNow - sends email through a go routine

Types

type EmailParam

type EmailParam struct {
	Template  string            `json:"template"`
	To        string            `json:"to"`
	Subject   string            `json:"subject"`
	BodyParam map[string]string `json:"body_param"`
}

EmailParam - struct for email message

Jump to

Keyboard shortcuts

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