Linux Sendmail test from command line

A quick way to test your Linux server's email capabilities from the command line, using sendmail. Be aware that your message may be flagged as spam, due to the fact that we haven't created any headers for it.
sendmail -s '[email protected]'
Subject:Testing!
hey there, how are you?
CTRL+D
Posted by
Snippet Viewed 2947 times.

Share your Linux code snippets:

  • Get some recognition & a link back to your site.
  • Create your own code library.
  • Help your fellow developers, as they have helped you.

 

Submit | Browse

Most Recent linux snippets

Most Viewed