Jun 28, 2017

Mailx simple example

It is very convenient to send email from command line using mailx

# echo "this is the body of the email" | mailx -vvv -s "test mail" -r "From" -S smtp="your-smtp" [email protected]

-vvv =         Verbosity.
-s =         Specifies the subject.
-r =         Email sent from.
-S =         Specifies the smtp server.

Post a Comment

Featured Post

Trading volumes of most major cryptocurrencies across leading exchanges remain low overall

Bitcoin's daily trading volume has been relatively low