msmtp

Send mail via commandline

  1. Configure it like arch wiki advises.
  2. Then just echo -e "Subject: Hello\nI like you." | msmtp bob@example.com

Elaborate example:

printf "To: ala@ela.com\nFrom: me@email.com\nSubject: Test \nThis is body." | msmtp ala@ela.com

tempmail

Bash client for 1secmail (temporary mail) Github.

# Generete new address
tmpmail -g

# Read last email (by default in w3m, you can specify --browser)
tmpmail -r