send_mail_from_command_line
echo "content of the email" | mail -a "Content-Type: text/plain; charset=UTF-8" -s 'subject of the email' address@domain.com
mail -a "Content-Type: text/plain; charset=UTF-8" -s "my file" me@there.com < /home/me/file.txt
echo -e "Vous vous demandez quel jour on est ? On est \n: $(date)" | mail -s 'la date' name@domain.com
send_mail_from_command_line.txt · Last modified: by 127.0.0.1
