email

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(sender mailSender.AsyncSender, msg *gomail.Message, tpl *template.Template) io.Writer

Get waiting for a parameter ess in format host:port;username;password

Types

type Strategy

type Strategy struct {
	Message  *gomail.Message
	Template *template.Template
	io.Writer
	// contains filtered or unexported fields
}

Strategy logging strategy in the email You can use it for errors and other types of messages

func (*Strategy) Write

func (s *Strategy) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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