ubuntu:email:sending_a_mail_in_the_shell
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:email:sending_a_mail_in_the_shell [2019/12/15 19:21] – peter | ubuntu:email:sending_a_mail_in_the_shell [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 13: | Line 13: | ||
<code bash> | <code bash> | ||
# mail the text that was piped to mail | # mail the text that was piped to mail | ||
- | echo "mail text" | mail johndoe@example.com -s " | + | echo "mail text" | mail john@example.com -s " |
# mail the file content | # mail the file content | ||
- | cat list.txt | mail johndoe@example.com -s "jar with dependencies" | + | cat list.txt | mail john@example.com -s "sample subject" |
</ | </ | ||
ubuntu/email/sending_a_mail_in_the_shell.1576437696.txt.gz · Last modified: 2020/07/15 09:30 (external edit)