mail

package
v3.0.0-rc.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	// Send sends a mail to recipients
	// the body can be html also
	Send(string, string, ...string) error
	UpdateConfig(config.Mail)
}

Service is the interface which mail sender should implement

func New

func New(cfg config.Mail) Service

New creates and returns a new Service

Jump to

Keyboard shortcuts

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