User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

send_mail_from_command_line [2017/01/31 15:49] – created ssm2017send_mail_from_command_line [2017/01/31 16:16] (current) – ssm2017
Line 5: Line 5:
 <sxh bash> <sxh bash>
 mail -a "Content-Type: text/plain; charset=UTF-8" -s "my file" me@there.com < /home/me/file.txt mail -a "Content-Type: text/plain; charset=UTF-8" -s "my file" me@there.com < /home/me/file.txt
 +</sxh>
 +
 +<sxh bash>
 +echo -e "Vous vous demandez quel jour on est ? On est \n: $(date)" | mail -s 'la date' name@domain.com
 </sxh> </sxh>
  
 {{tag>mail cli}} {{tag>mail cli}}

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information