mailer

package
v1.13.4-0...-6675bf8 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2020 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mailer

type Mailer interface {
	SendEmail(emailAddress string, subject string, body []byte) error
}

Mailer is a interface that any mailer should implement.

func InitSMTPMailer

func InitSMTPMailer(settings helpers.Settings) (Mailer, error)

InitSMTPMailer creates a new SMTP Mailer

Jump to

Keyboard shortcuts

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