title: How to get SMTP sesion error with SwiftMailer in Laravel
body: <p>I try to send email to fake address. And I can't catch error if this email address is not available and email can not be delivered.
  In SMTP-server logs I see:</p>
  <pre><code>Fri 2020-12-11 12:08:58.582: 03: --&gt; 250-STARTTLS
  Fri 2020-12-11 12:08:58.582: 03: --&gt; 250 SIZE
  Fri 2020-12-11 12:08:58.582: 02: &lt;-- MAIL FROM:&lt;my_email@mydomain.com&gt;
  Fri 2020-12-11 12:08:58.583: 03: --&gt; 250 2.1.0 Sender OK
  Fri 2020-12-11 12:08:58.583: 02: &lt;-- RCPT TO:&lt;somefakeaddress@mydomain.com&gt;
  Fri 2020-12-11 12:08:58.584: 03: --&gt; 550 5.1.1 Recipient unknown &lt;mi@f
  Fri 2020-12-11 12:08:58.585: 02: &lt;-- RSET
  Fri 2020-12-11 12:08:58.585: 03: --&gt; 250 2.0.0 RSET? Well, OK
  Fri 2020-12-11 12:08:58.586: 02: &lt;-- QUIT
  Fri 2020-12-11 12:08:58.586: 03: --&gt; 221 2.0.0 See ya in cyberspace
  Fri 2020-12-11 12:08:58.586: 04: SMTP session terminated (Bytes in/out
  </code></pre>
  <p>But in my Laravel app I can't catch this error even if I use Event Listeners <a href="https://laravel.com/docs/7.x/mail#events" rel="nofollow noreferrer">https://laravel.com/docs/7.x/mail#events</a></p>
  <p>Of course, the code</p>
  <pre><code>Mail::to('somefakeaddress@mydomain.com')-&gt;send(new Mailable($mail_data));
  </code></pre>
  <p>returns nothing.</p>
  <p><strong>Is there any idea how to catch the error of the SMTP session in Laravel?</strong></p>