title: Magento - Is it possible to attach a file to a transactional email?
body: <p>I need to attach a file to a transactional email. Basically I have a cron job that generates a report and needs to it email to an admin user.</p>
  
  <p>I was hoping something like this exists:</p>
  
  <pre><code>Mage::getModel('core/email_template')
                  -&gt;setDesignConfig(array('area'=&gt;'frontend', 'store'=&gt;1))
                  -&gt;createAttachment($file)
                  -&gt;sendTransactional($templateID, $sender, $email, “Admin", $vars);
  </code></pre>
  
  <p>Thanks in advance for any help.</p>