Skip to content

Instantly share code, notes, and snippets.

@markilott
Created July 25, 2021 06:59
Show Gist options
  • Save markilott/868be0e17846a324966e87d934327992 to your computer and use it in GitHub Desktop.
Save markilott/868be0e17846a324966e87d934327992 to your computer and use it in GitHub Desktop.
Test SES Email via CLI
aws sesv2 send-email \
--from-email-address "no-reply@mydomain.com" \
--destination "ToAddresses=me@myotherdomain.com" \
--configuration-set-name "myConfigSet" \
--content "Simple={Subject={Data=Hello World,Charset=utf8},Body={Text={Data=Hi from SES,Charset=utf8},Html={Data=<p>Hi from SES<p>,Charset=utf8}}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment