title: Javax mail api with OVH
body: <p>Is it possible to user javax mail with OVH?
  I can do it with Yahoo mail, but when I am trying to use it with OVH I am getting this error : </p>
  
  <blockquote>
    <p>at org.springframeworkjavax.mail.MessagingException: Exception
    reading response;   nested exception is:  java.net.SocketException:
    Connection reset</p>
  </blockquote>
  
  <p>the connection properties are :</p>
  
  <pre><code>properties.put("mail.smtp.starttls.enable", "true");
  properties.put("mail.smtp.host", host);
  properties.put("mail.smtp.user", from);
  properties.put("mail.smtp.password", pass);
  properties.put("mail.smtp.port", "465");
  properties.put("mail.smtp.auth", "true");
  properties.put("mail.imap.ssl.enable", "true");
  </code></pre>
  
  <p>If anyone can see where I am wrong here...</p>
  
  <p>Thanks.</p>