email

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 9 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 {
	// contains filtered or unexported fields
}

func NewEmail

func NewEmail(config map[string]interface{}, appCfg *config.App) *Email

NewEmail returns new email instance

func (*Email) Name

func (e *Email) Name() string

Name returns name of the provider

func (*Email) SendEvent

func (e *Email) SendEvent(event *event.Event) error

SendEvent sends event to the provider

func (*Email) SendMessage

func (e *Email) SendMessage(s string) error

SendMessage sends text message to the provider

Jump to

Keyboard shortcuts

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