User Tools

Site Tools


email:sending_a_mail_in_the_shell

Differences

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

Link to this comparison view

email:sending_a_mail_in_the_shell [2016/10/18 09:48] – created peteremail:sending_a_mail_in_the_shell [2019/11/27 22:09] (current) – removed peter
Line 1: Line 1:
-====== Email - Sending a mail in the shell ====== 
  
-<code bash> 
-# mail the text that was piped to mail 
-echo "mail text" | mail johndoe@example.com -s "subject text" 
- 
-# mail the file content 
-cat list.txt | mail johndoe@example.com -s "jar with dependencies" 
-</code> 
email/sending_a_mail_in_the_shell.1476784104.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki