title: PHPMailer - email will not send, no error is displayed
body: <p>My code:</p>
  <pre><code>`&lt;?php
  use PHPMailer\PHPMailer\PHPMailer;
  use PHPMailer\PHPMailer\Exception;   
  require 'PHPMailer-master/src/Exception.php';
  require 'PHPMailer-master/src/PHPMailer.php';
  require 'PHPMailer-master/src/SMTP.php';
  
   // I installed using the zip file, so I am not using autoloader
  
  $mail = new PHPMailer;
  $mail-&gt;isSMTP();
  $mail-&gt;Host = &quot;smtp.office365.com&quot;;
  $mail-&gt;SMTPDebug = 3;
  $mail-&gt;Port = 587;
  $mail-&gt;SMTPSecure = 'tls';
  $mail-&gt;SMTPAuth = true;
  $mail-&gt;Username = &quot;[ my Exchange email address ]&quot;;
  $mail-&gt;Password = &quot;[ my Exchange password ]&quot;;
  $mail-&gt;setFrom(&quot;[ my Exchange email address ]&quot;, &quot;[ my name ]&quot;);
  $mail-&gt;addAddress(&quot;[ recipient email ]&quot;, &quot; [ recipient name ]&quot;);
  $mail-&gt;Subject = 'PHPMailer SMTP test';
  $mail-&gt;msgHTML(&quot;test body&quot;);
  $mail-&gt;AltBody = 'HTML messaging not supported';
  if(!$mail-&gt;send()){
  echo &quot;Mailer Error: &quot; . $mail-&gt;ErrorInfo;
  }
  else{
  echo &quot;Message sent!&quot;;
  }
  ?&gt;`
  </code></pre>
  <p>The only output is:</p>
  <blockquote>
  <p>2022-02-08 14:36:21 Connection: opening to smtp.office365.com:587,timeout=300, options=array()</p>
  </blockquote>
  <p>There is no other output whatsover.</p>
  <p>Other notes:</p>
  <ul>
  <li>I am using PHPMailer version 6.5.3</li>
  <li>I checked my outgoing SMTP
  connection from my local server at <a href="https://testconnectivity.microsoft.com/tests/exchange" rel="nofollow noreferrer">https://testconnectivity.microsoft.com/tests/exchange</a> and no errors were reported. - The exchange account I am sending from does not have multifactor authentication enabled, so I do not need to use an app password.</li>
  <li>I checked the login details for my email address.
  -I was using this code without issue until last Friday.</li>
  </ul>