Skip to content

Instantly share code, notes, and snippets.

@hustshawn
Forked from umrashrf/aws_ses.bash
Created June 18, 2019 04:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hustshawn/bed05758d14b20ef4834c4714876812b to your computer and use it in GitHub Desktop.
Save hustshawn/bed05758d14b20ef4834c4714876812b to your computer and use it in GitHub Desktop.
Amazon AWS CLI - SES SEND EMAIL
sudo pip install awscli
aws configure
aws ses send-email \
--from "john@gmail.com" \
--destination "ToAddresses=mike@gmail.com" \
--message "Subject={Data=from ses,Charset=utf8},Body={Text={Data=ses says hi,Charset=utf8},Html={Data=,Charset=utf8}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment