mandrill

package
v0.0.0-...-116aade Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2016 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mandrill

type Mandrill struct {
	// contains filtered or unexported fields
}

Mandrill defines Mandrill transactional mail provider.

func New

func New(key string) (*Mandrill, error)

New returns new Mandrill instance. API key is validated upon creation, returning error if key is not valid.

func (*Mandrill) Send

func (m *Mandrill) Send(msg *message.Message, async bool) (interface{}, error)

Send sends provided message in async or sync way.

type SendResult

type SendResult struct {
	*mmandrill.SendResult
}

SendResult encapsulates mostafah/mandrill SendResult.

func (SendResult) String

func (sr SendResult) String() string

Jump to

Keyboard shortcuts

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