User Tools

Site Tools


send_mail_from_command_line

Differences

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

Link to this comparison view

Next revision
Previous revision
send_mail_from_command_line [2017/01/31 15:49] – created ssm2017send_mail_from_command_line [2022/02/07 13:29] (current) – external edit 127.0.0.1
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}}
send_mail_from_command_line.1485874172.txt.gz · Last modified: (external edit)