mail

package
v0.0.0-...-2e50eff Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mail

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

func NewMail

func NewMail(to string, from string, smtp string, port int, pass string) (*Mail, error)

NewMail creates new instance of Mail and returns a reference to it

func (*Mail) Send

func (m *Mail) Send(subject string, body string) error

Send sends an email at specified address

Jump to

Keyboard shortcuts

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