title: How do I send email over SMTP with SSL using Java client?
body: <p>I need to send email over smtp with ssl using java client. I'm not sure how to do that.</p>
  
  <ol>
  <li>If I have my server certificate installed on my Windows machine, how do I use it?</li>
  <li>If I want it to work on a non-Windows machine, do I need to get the certificates in a different way?</li>
  </ol>
  
  <p>BTW: If the SMTP server that I use is using SSL, can I be sure that it will send the mail to the recipient using SSL?</p>