title: Laravel can't send mail Connection could not be established with host smtp.mailgun.org
body: <pre><code>Mail::send('emails.test_layout', $data, function($message)
  {
      $message-&gt;to('myemail@gmail.com', 'test')-&gt;subject('test request');
  });
  </code></pre>
  
  <p>i'am getting this error:</p>
  
  <pre><code>Connection could not be established with host smtp.mailgun.org
  </code></pre>
  
  <p>how to fix this?</p>
  
  <p>using laravel-4</p>