mail

package
v0.0.0-...-9b59f43 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: GPL-3.0 Imports: 11 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 New

func New(config config.Configuration, httpClient *http.Client, logger logger.Logger) *Mail

func (*Mail) SendDiffEmail

func (m *Mail) SendDiffEmail(w watch.Watch, diffMethod, subject, body, text1, text2 string) error

func (*Mail) SendErrorEmail

func (m *Mail) SendErrorEmail(w watch.Watch, err error) error

func (*Mail) SendWatchError

func (m *Mail) SendWatchError(w watch.Watch, ret *watch.InvalidResponseError) error

Jump to

Keyboard shortcuts

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