mailer

package
v0.0.0-...-50815b3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mailer

type Mailer struct {
	// contains filtered or unexported fields
}

Mailer contains context required to send a mail

func New

func New(email, password string) (*Mailer, error)

New returns a new Mailer using parameter email, password

func (*Mailer) Send

func (m *Mailer) Send(to, title, body string) error

Send attempts to send a email to the target email using struct information

Jump to

Keyboard shortcuts

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