sendmail

package
v0.0.0-...-f683377 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: GPL-3.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 Sendmail

type Sendmail struct {
	Remote string
	Sender string
}

func Init

func Init(remote, sender string) *Sendmail

Start a new Sendmail instance.

func (*Sendmail) Send

func (m *Sendmail) Send(recipient, subject, body string) error

Send a mail to an user.

Jump to

Keyboard shortcuts

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