title: Include Images in HTML email send from Unix Box
body: <p>I have a script like this which sends html emails. I am trying to include images into my html emails. Is this possible ? File has to use this function. I'm not looking for some quick one liner instead of my function because of file manipulations I have done in my script. When I send out emails I back a [X] instead of my image.</p>
  
  <p>Email function of my script. </p>
  
  <pre><code>#!/bin/bash
  
  Email()
  {
  export MAILTO="ADC@aol.com"
  export CONTENT="file"
  export SUBJECT="Report"
  (
   echo "Subject: $SUBJECT"
   echo "To : $MAILTO"
   echo "MIME-Version: 1.0"
   echo "Content-Type: text/html"
   echo "Content-Disposition: inline"
   cat "$CONTENT"
  ) | /usr/sbin/sendmail $MAILTO
  }
  
  Email
  </code></pre>
  
  <p>File I am sending "file"</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  &lt;img src="/home/admin/Afriendlycow.png"&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I attempt to try just the file name instead of the path such as Afriendlycow.png but it does not work also.</p>