title: Centos 6 /usr/sbin/sendmail - how to send email with subject?
body: <p>Trying to send an email from shell (Centos 6) using one line command, but subject is empty</p>
  
  <pre><code>echo 'body' | /usr/sbin/sendmail x@gmail.com Subject:"Test Send Mail"
  </code></pre>
  
  <p>Spent hours trying googling and find an answer how to send email  using "/usr/sbin/sendmail" with subject, but no matter what I try, subject is empty.</p>