title: How to open an email client and automatically attach file in java
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6029579/java-start-mail-client-with-attachment">Java: Start Mail-Client with Attachment?</a>  </p>
  </blockquote>
  
  
  
  <p>I need to create a java code that will open an email client (Outlook, outlook express , etc) and automatically attach a file in it. I tried using mailto but it only opens the mail client and do not attach the file. Help please. </p>
  
  <p>thanks a lot. </p>