email

package
v0.0.0-...-bc07ea8 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMail

func NewMail() *mimeMail

func SendEmail

func SendEmail(to, subject, message string)

func SendEmailWithAttachments

func SendEmailWithAttachments(to, subject, message string, atts []string)

func Substr

func Substr(str string, start int) string

Types

type Config

type Config struct {
	Account  string `yaml:"account"`
	Password string `yaml:"password"`
	Host     string `yaml:"host"`
	Port     string `yaml:"port"`
	From     string `yaml:"from"`
}

Jump to

Keyboard shortcuts

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