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 ¶
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.
Click to show internal directories.
Click to hide internal directories.