Skip to content

Instantly share code, notes, and snippets.

@robmilward
Created April 11, 2019 08:19
Show Gist options
  • Select an option

  • Save robmilward/30a24c96a8a13279109416975ec1323e to your computer and use it in GitHub Desktop.

Select an option

Save robmilward/30a24c96a8a13279109416975ec1323e to your computer and use it in GitHub Desktop.
[Send SES via AWS CLI] Sending raw mail over SES using the AWS CLI tool #aws #mail
aws ses send-email \
--profile=ProfileName \
--region=eu-west-1 \
--destination="ToAddresses=someone@example.com" \
--message="Subject={Data=Test},Body={Text={Data='Test Body'}}" \
--from=avalidemail@example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment