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