mail

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Boxer

type Boxer interface {
	Send([]byte) error
}

type Mail

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

func NewMail

func NewMail(cfg *config.Config, gmailCredentials string) (*Mail, error)

func (*Mail) Send

func (m *Mail) Send(from, to, subject, msg string) error

func (*Mail) SendMessage

func (m *Mail) SendMessage(bz []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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