email

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// The character encoding for the email.
	CharSet = "UTF-8"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	SendEmail(toAddresses []string, sender, subject, htmlBody, textBody string) error
	VerifyEmail(email string) error
	GetVerificationStatuses(emails []string) (map[string]string, error)
	VerifyEmailsIfNecessary(emails []string) error
}

func New

func New(sesh *session.Session) (Client, error)

New gets a new Client

Jump to

Keyboard shortcuts

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