Contents:
Send email from localhost #
brew install swaks
swaks --auth \
--server smtp.mailgun.org \
--au postmaster@mail.mydomain.com \
--ap password \
--from alex@mail.mydomain.com \
--to user@domain.com \
--h-Subject: "Hello" \
--body 'World!'
Via Python script #
See: send-mail.py