mailer

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CharSet is the character set used in all SES emails.
	CharSet = "UTF-8"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SES

type SES struct {
	// contains filtered or unexported fields
}

SES sends email notifications via AWS SES.

func NewSES

func NewSES(region string, sender string) (*SES, error)

NewSES constructs a new mailer that uses AWS SES to send emails.

func (*SES) Send

func (m *SES) Send(ctx context.Context, content string, email string, subject string) error

Send send an email to a person.

Jump to

Keyboard shortcuts

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