mailer

package
v0.0.0-...-e7b3743 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2020 License: MIT Imports: 6 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 {
	// Send sends a plain SMTP email
	Send(string, []string, string, string) error
	// SendFromTemplate renders message to template and sends plain SMTP email
	SendFromTemplate(string, []string, string, string, interface{}) error
}

Mailer handles SMTP calls

func New

func New(cfg *config.Config) (Mailer, error)

New returns a new Mailer instance

Directories

Path Synopsis
Godeps
_workspace/src/github.com/gorilla/securecookie
Package gorilla/securecookie encodes and decodes authenticated and optionally encrypted cookie values.
Package gorilla/securecookie encodes and decodes authenticated and optionally encrypted cookie values.

Jump to

Keyboard shortcuts

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