email

package
v0.0.0-...-3322d40 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2015 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfirmEmail = iota
	EmailReport  = iota
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

type Email mail.Message

func New

func New() *Email

func (*Email) LoadTemplate

func (e *Email) LoadTemplate(id int, data map[string]interface{})

func (Email) Send

func (e Email) Send(c context.Context) error

type IncomingEmail

type IncomingEmail struct {
	Header netmail.Header
	Body   *enmime.MIMEBody
}

func Read

func Read(r io.Reader) (IncomingEmail, error)

Jump to

Keyboard shortcuts

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