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 -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.


Add new comment

Anonymous format

  • Allowed HTML tags: <em> <strong> <cite> <code> <ul type> <ol start type> <li> <pre>
  • Lines and paragraphs break automatically.