title: Open default email client (outlook, thunderbird, gmail, etc.) with attachment
body: <p>I looked at a bunch of tutorials using <code>ActionMailer</code>, but they all seem to just automatically send emails without opening up a default email app. I want the user to be able to click a button that opens up their default email client with the <code>to</code> and <code>subject</code> fields filled in, and be able to have a file attached. Ideally, I want it to work just like:</p>
  
  <pre><code>&lt;a href='mailto:someperson@example.com'&gt;
  </code></pre>
  
  <p>but have it able to attach a file. I would post code, but I have no idea what to post. I guess the main question is if there's a way to get <code>ActionMailer</code> to open up outlook instead of just sending emails?</p>
  
  <p>There is very similar question, <a href="https://stackoverflow.com/questions/15104313/rails-actionmailer-open-host-email-app">Rails actionmailer open host email app</a> but the solutions didn't work.</p>
  
  <p><strong>update</strong></p>
  
  <p>My app is for a small workplace where every computer has access to whatever files are needed which would be located on the server. I am trying to make it so that the user of the app can click an email button which grabs a pdf file from a folder on the server and opens up outlook on their machine with the file automatically attached.</p>