Alumna::SES
Inherits Alumna::Mailer < Reference < Object
Amazon SES API v2 SendEmail. One method: send. This is not a Redis-style holder.
Success returns nil. HTTP errors, network errors, and TLS errors return MailError. Empty region, empty keys, or a bad endpoint raise ArgumentError.
Do not log the secret, the session token, or the Authorization header. MailError text has those values removed.
Constants
CONTENT_TYPE = "application/json"
PATH = "/v2/email/outbound-emails"
REGION = /\A[a-z0-9-]+\z/
SERVICE = "ses"
Constructors
Instance methods
send(mail : Mail) : Nil | MailError
Source