title: Laravel on Localhost - Connection could not be established with host smtp.gmail.com [Connection timed out #110]
body: <p>I am trying to use Mailgun</p>
  
  <pre><code>'driver' =&gt; env('MAIL_DRIVER', 'mailgun'),
  'host' =&gt; env('MAIL_HOST', 'smtp.mailgun.org'),
  'port' =&gt; env('MAIL_PORT', 587),
  
  
  MAILGUN_DOMAIN=xxxxxxxxxx,
  MAILGUN_SECRET=xxxxxxxxxx,
  
  MAIL_DRIVER=smtp
  
  
  
  MAIL_HOST=smtp.mailtrap.io
  MAIL_PORT=2525
  MAIL_USERNAME=null
  MAIL_PASSWORD=null
  MAIL_ENCRYPTION=null
  </code></pre>
  
  <p>The error is a strange one. Why would it be trying to connect to gmail?</p>
  
  <pre><code>Connection could not be established with host smtp.gmail.com [Connection timed out #110]
  </code></pre>
  
  <p>Edit:</p>
  
  <pre><code>Now I am getting
  
  "mail" =&gt; array:9 [▼
        "driver" =&gt; "smtp"
        "host" =&gt; "smtp.mailgun.org"
        "port" =&gt; "2525"
        "from" =&gt; array:2 [▶]
        "encryption" =&gt; null
        "username" =&gt; null
        "password" =&gt; null
        "sendmail" =&gt; "/usr/sbin/sendmail -bs"
        "markdown" =&gt; array:2 [▼
          "theme" =&gt; "default"
  </code></pre>