Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

AWS Simple Email Service (SES)

Schemesses://
Cargo featureservice-ses
Servicehttps://aws.amazon.com/ses/
Body formatshtml (first is the default)
Attachmentsyes
Title length250 characters
Body length32,768 characters
Body linesunlimited
Request throttlenone
Vendor URLs acceptedno

URL formats

{schema}://{from_email}/{access_key_id}/{secret_access_key}/{region}/{targets}
{schema}://{from_email}/{access_key_id}/{secret_access_key}/{region}

{schema} is one of ses://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{access_key_id}Access Key IDstringyessecret
{from_email}From Emailemailyes
{region}Regionstringyesmust match ^[a-z]{2}-[a-z-]+?-[0-9]+$
{secret_access_key}Secret Access Keystringyessecret
{targets}Target Emailslistnoseparated by /
{token}Session Tokenstringnosecret

Query parameters

ParameterMeaningTypeDefaultNotes
accessAccess Key IDstringsets {access_key_id}
bccBlind Carbon Copylistseparated by , or space
ccCarbon Copylistseparated by , or space
fromFrom Emailemailsets {from_email}
keyAccess Key IDstringsets {access_key_id}
nameFrom Namestring
regionRegionstringsets {region}
replyReply To Emailstring
secretSecret Access Keystringsets {secret_access_key}
toTarget Emailslistsets {targets}
tokenSession Tokenstringsets {token}

The common URL parameters (format, overflow, verify, redirect, cto, rto, retry, wait, store, tag, tz, user, password, port, optional, emojis) apply as well.

Examples

Accepted URLs (tokens are fake):

ses://user@example.com/T1JJ3T3L2/A1BRTD4JD/TIiajkdnlazkcevi7FQ/us-west-2
ses://user:SESSIONTOKEN@example.com/T1JJ3T3L2/A1BRTD4JD/TIiajkdnlazkcevi7FQ/us-east-1/
ses://user@example.com/T1JJ3T3L2/A1BRTD4JD/TIiajkdnlazkcevi7FQ/us-west-2/user2@example.com/Bob%20Smith%20%3Cbob@example.org%3E
ses://user@example.com/T1JJ3T3L2/A1BRTD4JD/TIiajkdnlazkcevi7FQ/us-west-2?format=text
ses://user@example.com/T1JJ3T3L2/A1BRTD4JD/TIiajkdnlazkcevi7FQ/us-west-2?token=TOK%2Bx%3D
ses://user@example.com/T1JJ3T3L2/A1BRTD4JD/TIiajkdnlazkcevi7FQ/us-west-2/a@example.com/b@example.com?cc=b@example.com
ses://user@example.com/T1JJ3T3L2/A1BRTD4JD/TIiajkdnlazkcevi7FQ/us-west-2/user2@example.com?reply=Rep%20Ly%20%3Crep@example.com%3E
ses://user@example.com/?key=T1JJ3T3L2&secret=A1BRTD4JD/TIiajkdnlazkcevi7FQ&region=US-WEST-2&from=other@example.net

Rejected URLs:

ses://
ses://:@/
ses://user@example.com/T1JJ3T3L2
ses://user@example.com/T1JJ3TD4JD/TIiajkdnlazk7FQ/

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'ses://user@example.com/T1JJ3T3L2/A1BRTD4JD/TIiajkdnlazkcevi7FQ/us-west-2'

Notes

AWS Simple Email Service (ses://): SendRawEmail with a MIME message built by the shared mail module, signed with AWS SigV4.

Cc/Bcc recipients are sent in sorted order.