Skip to content

Instantly share code, notes, and snippets.

@jcttrll
jcttrll / send-ses.sh
Last active January 18, 2024 23:34
Send an e-mail from the command line using AWS SES SMTP
#!/bin/bash -e
set -o pipefail
# PREREQUISITES:
#
# 1. mailx command line utility
# 2. Firewall access to TLS SMTP port 465 on the SES server specified in SES_ENDPOINT, below.
#
# INSTRUCTIONS:
#