goemail

package
v0.0.0-...-4160b3e Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EmailServer   = "smtp.gmail.com"
	EmailAddress  = ""
	EmailUsername = ""
	EmailPassword = ""
	EmailSSL      = true
	EmailPort     = 587
)

Variables

This section is empty.

Functions

func PlainAuth

func PlainAuth(identity, username, password, host string) smtp.Auth

func Send

func Send(tos []string, subject string, body string, html bool) error

Types

type SmtpCredentials

type SmtpCredentials struct {
	Server   string
	Address  string
	Username string
	Password string
	SSL      bool
	Port     int
}

Jump to

Keyboard shortcuts

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