/ Published in: Bash
Usually you see sendmail invoked with sendmail [email protected] < file.txt
What if you're scripting, and don't feel like writing a temp file for every email message?
Expand |
Embed | Plain Text
echo "subject: foo bar baz come and get this god damned cat! ." | sendmail me@example.com
You need to login to post a comment.
