title: PHPMailer & STARTTLS not sending email
body: <p>Message not sending with such settings</p>
  
  <pre><code>$mail = new PHPMailer;
  $mail-&gt;SMTPDebug = 4;                               
  $mail-&gt;isSMTP();                                      
  $mail-&gt;Host = "domain.com";  
  $mail-&gt;SMTPAuth = true;                               
  $mail-&gt;Username = "login";                 
  $mail-&gt;Password = "pasw";                         
  $mail-&gt;SMTPSecure = "tls";                            
  $mail-&gt;Port = 2525;                                    
  $mail-&gt;CharSet = 'UTF-8';
  </code></pre>
  
  <p>openssl extension is loaded. Dеbug output is here
  <a href="https://justpaste.it/1ecjw" rel="nofollow noreferrer">https://justpaste.it/1ecjw</a>
  First problem line there is 
  <code>2017-12-08 09:48:53 SMTP -&gt; get_lines(): $str is "502 5.5.1 command not supported in "STARTTLS""</code></p>
  
  <p>telnet says that there is  ESMTP service.
  I don't know what to investigate next...</p>