[Ubuntu] Mailer en ligne de commande

Il faut installer mailx :

$ sudo apt-get install mailx

Un test :

$ echo "Test" | mail monmail@gmail.com -s "Test de mail"
by Nicolas Perriault on 2007-02-05, tagged cli  mail  ubuntu 
You need to create an account or log in to post a comment or rate this snippet.