awsses

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MailerName        = "awsses"
	EnvironmentKey    = "AWS_API_KEY"
	EnvironmentSecret = "AWS_API_SECRET"

	TestEmailAddress = "success@simulator.amazonses.com"
)

Variables

This section is empty.

Functions

func New

func New(q queue.Queue, client *sesv2.Client) (mdsend.Mailer, error)

IAM Permissions: The IAM user or role executing this code must have the ses:SendRawEmail cfg, err := config.LoadDefaultConfig(ctx, config.WithRegion("us-east-1"))

if err != nil {
	log.Fatalf("unable to load SDK config: %v", err)
}

sesClient := ses.NewFromConfig(cfg) https://docs.aws.amazon.com/ses/latest/dg/send-email-raw.html

Types

This section is empty.

Jump to

Keyboard shortcuts

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