title: how to send mail automatically using mailto with attachment from outlook using JavaScript and html
body: <p>I have a html form with upload option onclick of send button want to shoot mail automatically with attachment.i am able to pass subject and body but attachment is not attaching.please help me out thanks</p>
  
  <pre><code> var link = "mailto:personTO@example.com"+
               "?cc=example@example.com"+
               "&amp;subject=" + escape("Information")+
               "&amp;body=" +body+
               "&amp;attachment="+attachpath;
    window.location.href = link
  </code></pre>
  
  <p>with above code everything is append to outlook mail except attachment.</p>