User Tools

Site Tools


email:sending_a_mail_in_the_shell

This is an old revision of the document!


Email - Sending a mail in the shell

# 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"
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