email

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 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 Sender

type Sender interface {
	SendMail(subject, body, recipient string) error
}

Sender provides and interface for sending email

func GetGmailSender

func GetGmailSender(hostEnvVar, portEnvVar, usernameEnvVar, passwordEnvVar string) Sender

GetGmailSender returns an EmailSender that uses SMTP

Jump to

Keyboard shortcuts

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