Putting subject & from in mail from command line
Posted by robert on July 13, 2007
0 comments | 107 views
I couldn’t figure out how to send an email with both the subject and from set from the command line. mail -s "my subject" example@foo.bar worked with mail but would only set the subject. sendmail -f "sender@foo.bar" receiver@foo.bar worked with sendmail but would only set the “from”. With a little help from Google I put [...]