Skip to content

swaks

#!/bin/bash

read -s -p "Password: " MY_PASS

swaks --to gutocarvalho@icloud.com \
  --from contato@gutocarvalho.net \
  --server smtp.gutocarvalho.net:587 \
  --auth LOGIN \
  --auth-user contato@gutocarvalho.net \
  --auth-password "$MY_PASS" \
  --tls \
  --header "Subject: VALIDA" \
  --body "E ae chegou?"