title: PHPMailer stuck on "Connection: opened"
body: <p>Bellow is my code used to send an email. PHPMailer output messages are:</p>
  
  <pre><code>2019-01-19 13:47:42        Connection: opening to xxxxxx:465, timeout=5, options=array()  
  2019-01-19 13:47:42     Connection: opened
  </code></pre>
  
  <p>I tried with a wrong password and nothing changes. Does anyone has an ideea what it may happen?</p>
  
  <pre><code>$mail = new PHPMailer();
  $mail-&gt;isSMTP();                                      // Set mailer to use SMTP
  $mail-&gt;SMTPDebug = 3;                                 // Enable verbose debug output
  $mail-&gt;Host = 'xxxxxxx';                      // Specify main and backup SMTP servers
  $mail-&gt;Port = 465;                                    // TCP port to connect to
  $mail-&gt;SMTPAuth = true;                               // Enable SMTP authentication
  
  
  $mail-&gt;Username = 'xxxxxxxx@xxx.xxx';            // SMTP username
  $mail-&gt;Password = 'xxxxxxxx';                         // SMTP password
  
  
  
  $mail-&gt;setFrom('xxxxxxxxxxx', 'xxxxxxx');
  $mail-&gt;addAddress('xxxxx', 'xxxxx');                            // Add a recipient
  $mail-&gt;addReplyTo('xxxxxxxxxx', 'xxxxxx');
  $mail-&gt;isHTML(true);                                  // Set email format to HTML
  $mail-&gt;Timeout  =   5;
  $mail-&gt;Subject = $subject;
  $mail-&gt;Body    = $text;
  
  $mail-&gt;send();
  </code></pre>