email

package
v0.0.0-...-efb87f3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Email

type Email struct {
	SMTP     string `json:"smtp" description:"The address of a SMTP server to use (host:port)"`
	Username string `json:"username" description:"Leave empty for no authentication"`
	Password string `json:"password"`
	From     string `json:"from" description:"A from: email address"`
	To       string `json:"to" description:"A to: email address"`
}

Email will send an email.

func (*Email) Notify

func (e *Email) Notify(text string) error

Notify implement plugins.Notifier

Jump to

Keyboard shortcuts

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