email

package
v0.0.0-...-db10d9a Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2015 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

View Source
const EmailWorkerRestartTime = 30 * time.Second
View Source
const PauseBetweenEmails = 2 * time.Second

Variables

This section is empty.

Functions

func InitEmails

func InitEmails(config EmailConfig)

func SendEmail

func SendEmail(email Email) chan error

Types

type Email

type Email struct {
	From              string
	To                string
	Subject           string
	AdditionalHeaders map[string]string
	Text              string

	Error chan error
}

type EmailConfig

type EmailConfig struct {
	Server   string
	Port     uint16
	Username string
	Password string
	From     string
}

Jump to

Keyboard shortcuts

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