email

package
Version: v2.0.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlainDialier

func NewPlainDialier(host string, port int, user string, pass string) *gomail.Dialer

Types

type EmailContact

type EmailContact interface {
	notification.Contact
	ResolveEmail() *mail.Address
}

type EmailNotificationService

type EmailNotificationService struct {
	Logger log.Logger
	Dialer gomail.Dialer
}

func (*EmailNotificationService) Notify

func (svc *EmailNotificationService) Notify(notification *notification.Notification) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL