User Tools

Site Tools


send_mail_from_command_line

This is an old revision of the document!


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.1485875789.txt.gz · Last modified: (external edit)