title: laravel Expected response code 250 but got code "530"
body: <p>Im trying to Mail in Laravel 5.1</p>
  <p>my mail.php code is</p>
  <pre><code> return [
       'driver' =&gt; env('MAIL_DRIVER', 'smtp'),
       'host' =&gt; env('MAIL_HOST', 'smtp.mailgun.org'),
       'port' =&gt; env('MAIL_PORT', 587),
       'from' =&gt; ['address' =&gt; 'myemail@gmail.com', 'name' =&gt; 'sample'],
       'encryption' =&gt; env('MAIL_ENCRYPTION', 'tls'),
       'username' =&gt; env('MAIL_USERNAME'),
       'password' =&gt; env('MAIL_PASSWORD'),
       'sendmail' =&gt; '/usr/sbin/sendmail -bs',
       'pretend' =&gt; env('MAIL_PRETEND', false),
  
   ];
  </code></pre>
  <p>my .env file is</p>
  <pre><code>MAIL_DRIVER=smtp
  MAIL_HOST=smtp.gmail.com
  MAIL_PORT=587
  MAIL_USERNAME=myemail@gmail.com
  MAIL_PASSWORD=mypassword
  MAIL_ENCRYPTION=null
  </code></pre>
  <p>my function to email is</p>
  <pre><code>public function sendEmailVerification()
  {
      $user = $this-&gt;user;//retrieved by $request-&gt;user() in __construct
  
      Mail::send('emails.verifyemail', ['user' =&gt; $user], function ($m) use ($user) {
          $m-&gt;from('myemail@gmail.com, 'sample');
  
          $m-&gt;to($user-&gt;email, $user-&gt;name)-&gt;subject('Verify Email');
      });
  }
  </code></pre>
  <p>Error appears every time i call my function.</p>
  <blockquote>
  <p>Expected response code 250 but got code &quot;530&quot;, with message &quot;530 5.7.0
  Must issue a STARTTLS command first. l188sm21749863pfl.28 - gsmtp&quot;</p>
  </blockquote>