sendmail

Linux sendmail example

Note to me: Using sendmail from the command line can be better than using the mail command from the command line. Something like this is pretty cool:

/usr/lib/sendmail -t -f al@devdaily.com -F "Al Alexander" < my_message.txt

This works very well if I put things like To:, Cc:, Reply-to:, etc, in the file named my_message.txt.