Skip to content

Instantly share code, notes, and snippets.

@ismailyenigul
Created July 8, 2020 15:47
Show Gist options
  • Save ismailyenigul/9a38c2db89db8a66e057b8e1d06b0ede to your computer and use it in GitHub Desktop.
Save ismailyenigul/9a38c2db89db8a66e057b8e1d06b0ede to your computer and use it in GitHub Desktop.
swaks AWS SES Test email

install swaks

apt install -y swaks

send test message

swaks  --from sender@domain.com --to rcptuser@domain.com --auth-user myuser --auth-password "mypass"  --server  email-smtp.eu-west-1.amazonaws.com  --tlsc

Options

--tlsc, --tls-on-connect Initiate a TLS connection immediately on connection. Following common convention, if this option is specified the default port changes from 25 to 465, though this can still be overridden with the --port option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment