title: Expected response code 220 but got code "" with message ""
body: <p>Every time I submit the contact form on my Laravel application I receive the error message in the title. I've followed the recommendation in <a href="https://stackoverflow.com/questions/32693528/expected-response-code-220-but-got-code-with-message-in-laravel">this discussion</a>, but it has had no effect even after <code>php artisan cache:clear</code> and <code>php artisan config:cache</code>. Here's the relevant code:</p>
  
  <p><strong>.env</strong>      </p>
  
  <pre><code>MAIL_DRIVER=smtp
  MAIL_HOST=smtp.gmail.com
  MAIL_PORT=587
  MAIL_USERNAME=username@gmail.com
  MAIL_PASSWORD=password
  MAIL_ENCRYPTION=ssl
  </code></pre>
  
  <p><strong>config/mail.php</strong></p>
  
  <pre><code>&lt;?php
  
  return [
      'driver' =&gt; env('MAIL_DRIVER', 'smtp'),
      'host' =&gt; env('MAIL_HOST', 'smtp.gmail.org'),
      'port' =&gt; env('MAIL_PORT', 587),
      'from' =&gt; [
          'address' =&gt; env('MAIL_FROM_ADDRESS', 'hello@example.com'),
          'name' =&gt; env('MAIL_FROM_NAME', 'Example'),
      ],
      'encryption' =&gt; env('MAIL_ENCRYPTION', 'tls'),    
      'username' =&gt; env('MAIL_USERNAME'),
      'password' =&gt; env('MAIL_PASSWORD'),
      'sendmail' =&gt; '/usr/sbin/sendmail -bs',
      'markdown' =&gt; [
          'theme' =&gt; 'default',
  
          'paths' =&gt; [
              resource_path('views/vendor/mail'),
          ],
      ],
  
  ];
  </code></pre>
  
  <p>I was under the impression from the documentation that the global 'from' wouldn't fire unless no other from address was provided, but in my controller for the mail, I specified the address supplied to the contact form as the 'from,' is that a conflict point somehow? It doesn't seem to be from the error message details.</p>
  
  <p>Because the contact form is not a distinct view but the bottom of the mainpage view, the Controller function lives in <strong>PageController</strong></p>
  
  <pre><code>public function postContact(Request $request) {
      $this-&gt;validate($request, [
  
        'email' =&gt; 'required|email',
        'subject' =&gt; 'required|min:3',
        'message' =&gt; 'required|min:10'
      ]);
  
      $data = array(
        'email' =&gt; $request-&gt;email,
        'subject' =&gt; $request-&gt;subject,
        'mailbody' =&gt; $request-&gt;message
      );
  
      Mail::send('emails.contact', $data, function($message) use ($data) {
        $message-&gt;from($data['email']);
        $message-&gt;to('username@gmail.com');
        $message-&gt;subject($data['subject']);
      });
    }
  </code></pre>