email

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2017 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoReply = env.MustGet("NOREPLY_EMAIL")

NoReply is the default 'from' address

Functions

This section is empty.

Types

type NoopSender

type NoopSender struct {
}

NoopSender does not send e-mails

func NewNoopSender added in v0.7.0

func NewNoopSender() *NoopSender

NewNoopSender creates a new NoopSender

func (*NoopSender) Send

func (s *NoopSender) Send(from, to, subject, message string) error

Send an e-mail

type Sender

type Sender interface {
	Send(from, to, subject, message string) error
}

Sender is used to send e-mails

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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