Created
July 25, 2021 06:59
-
-
Save markilott/868be0e17846a324966e87d934327992 to your computer and use it in GitHub Desktop.
Test SES Email via CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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