Skip to content

Instantly share code, notes, and snippets.

@andrewodri
Created June 13, 2018 18:20
Show Gist options
  • Save andrewodri/d51c42329786f7ff7ba9d3f619f93b9a to your computer and use it in GitHub Desktop.
Save andrewodri/d51c42329786f7ff7ba9d3f619f93b9a to your computer and use it in GitHub Desktop.
AWS SES Validator
#!/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