email

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 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 EmailSender

type EmailSender struct {
	Server   string `json:"server"`
	Port     int    `json:"port"`
	From     string `json:"from"`
	Password string `json:"password"`
	// contains filtered or unexported fields
}

func New

func New(parameters json.RawMessage) *EmailSender

func (*EmailSender) Destinations

func (es *EmailSender) Destinations() (map[string]string, error)

func (*EmailSender) Release

func (es *EmailSender) Release(dest []string, body string) error

func (*EmailSender) Trigger

func (es *EmailSender) Trigger(dest []string, body string) error

Jump to

Keyboard shortcuts

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