title: "SSL23_GET_SERVER_HELLO:unknown protocol" Error Trying to Reach Outlook smtp Server
body: <p>I'm trying to send emails from an Outlook account in my iOS application. I'm using Mailcore2 and Outlook's Live-SDK. I am able to receive emails, but get an error when I try to send emails: "a stable connection to the server could not be established". </p>
  
  <p>To investigate the issue, I went into the terminal and tried to connect via SSL:</p>
  
  <pre><code>openssl s_client -crlf -connect smtp-mail.outlook.com:587
  </code></pre>
  
  <p>The response I got back was:</p>
  
  <pre><code>error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown  protocol:/SourceCache/OpenSSL098/OpenSSL098-50/src/ssl/s23_clnt.c:607
  </code></pre>
  
  <p>I don't know exactly what this error means, after a bit of searching I found that a common response to this issue was that the server I am trying to reach may not support a necessary SSL protocol. This site: <a href="http://foundeo.com/products/iis-weak-ssl-ciphers/test.cfm" rel="noreferrer">http://foundeo.com/products/iis-weak-ssl-ciphers/test.cfm</a> allows you to test which SSL protocols are enabled for a particular domain. Using this I found that SSLV2 is disabled and SSLV3 is also disabled. </p>
  
  <p>I not clear on what all this means or what I might need to do to connect to this server. Any help is appreciated.</p>