mailer

package
v0.0.0-...-a5718a3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host         string `yaml:"host"`
	Port         int    `yaml:"port"`
	EmailAddress string `yaml:"email-address" mapstructure:"email-address"`
	Username     string `yaml:"username"`
	Password     string `yaml:"password"`
}

type Mailer

type Mailer interface {
	Send(msg *message.Message, ats ...*attachment.Attachment) (err error)
}

func New

func New(c *Config) Mailer

Jump to

Keyboard shortcuts

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