how to send attachment by email
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1214646/send-email-with-attachments-in-php">Send email with attachments in PHP?</a>  </p>
</blockquote>



<p>I've many Joomla/Drupal sites running but I want to send a file attachment by email using php code on linux/unix command line, how can I do it?</p>

<p>When I use mail function in my shared hosting account, it's not send any mails.</p>
