til

AWS SES

#!/usr/bin/env sh

set -euxo pipefail

aws ses send-email \
  --from "${EMAIL}" \
  --destination "ToAddresses=${EMAIL},CcAddresses=${EMAIL}" \
  --message "Subject={Data=from aws cli,Charset=utf8},Body={Text={Data=sent from aws cli,Charset=utf8},Html={Data=,Charset=utf8}}" \
  --profile "${PROFILE}"

References