Created
June 13, 2018 18:20
-
-
Save andrewodri/d51c42329786f7ff7ba9d3f619f93b9a to your computer and use it in GitHub Desktop.
AWS SES Validator
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
#!/bin/bash | |
export AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE | |
export AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY | |
export AWS_DEFAULT_REGION=us-east-1 | |
aws ses send-email \ | |
--from "valid@domain.tld" \ | |
--destination "ToAddresses=valid@recipient.tld" \ | |
--message "Subject={Data=AWS SES Validation,Charset=utf8},Body={Text={Data=AWS SES Validation,Charset=utf8},Html={Data=,Charset=utf8}}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment