title: Laravel5.6 Email Not working without showing Error
body: <p>I wanted to verify Email Verification after Registration for my project.</p>
  
  <blockquote>
    <p>Laravel Email not sending also not showing error after clone from Gitlab
    <br></p>
  </blockquote>
  
  <p>After clone from gitlab i updated project composer and also added .env files.
  I configured mail.php at config/mail.php<br>config/mail.php Configuration Below :</p>
  
  <pre><code>'driver' =&gt; env('MAIL_DRIVER', 'smtp'),
  'host' =&gt; env('MAIL_HOST', 'smtp.gmail.com'),
  'port' =&gt; env('MAIL_PORT', 587),
  'from' =&gt; [
      'address' =&gt; env('MAIL_FROM_ADDRESS', 'myEmail@gmail.com'),
      'name' =&gt; env('MAIL_FROM_NAME', 'My Name'),
  ],
  'encryption' =&gt; env('MAIL_ENCRYPTION', 'tls'),
  'username' =&gt; env('MyEmail@gmail.com'),
  'password' =&gt; env('MyPassword'),
  </code></pre>
  
  <p>i created verifyEmail for my project with this command :</p>
  
  <pre><code>php artisan make:mail verifyEmail
  </code></pre>
  
  <h1>verifyEmail Configuration Below :</h1>
  
  <pre><code>&lt;?php
  
   namespace App\Mail;
  
   use Illuminate\Bus\Queueable;
   use Illuminate\Mail\Mailable;
   use Illuminate\Queue\SerializesModels;
   use Illuminate\Contracts\Queue\ShouldQueue;
   use App\User;
  
   class VerifyEmail extends Mailable
   {
     use Queueable, SerializesModels;
  
     public $user;
     public function __construct(User $user)
     {
        return $this-&gt;user = $user;
     }
  
  /**
   * Build the message.
   *
   * @return $this
   */
    public function build()
     {
      return $this-&gt;view('email.sendView');
     }
  }
  </code></pre>
  
  <h1>Register Controller Code Below :</h1>
  
  <pre><code>&lt;?php
  
    namespace App\Http\Controllers\Auth;
    use Illuminate\Support\Str;
    use App\User;
    use App\Http\Controllers\Controller;
    use Illuminate\Support\Facades\Hash;
    use Illuminate\Support\Facades\Validator;
    use Illuminate\Foundation\Auth\RegistersUsers;
    use Mail;
    use App\Mail\VerifyEmail;
  
  class RegisterController extends Controller{
  
  use RegistersUsers;
  
  protected $redirectTo = '/home';
  
  public function __construct()
  {
      $this-&gt;middleware('guest');
  }
  
  protected function validator(array $data)
  {
      return Validator::make($data, [
          'name' =&gt; 'required|string|max:255',
          'email' =&gt; 'required|string|email|max:255|unique:users',
          'password' =&gt; 'required|string|min:6|confirmed',
          'verifyToken'=&gt;'string',
      ]);
  }
  
  protected function create(array $data){
      $user = User::create([
          'name' =&gt; $data['name'],
          'email' =&gt; $data['email'],
          'password' =&gt; Hash::make($data['password']),
          'verifyToken'=&gt;Str::random(40),
      ]);
      $thisUser = User::findOrFail($user-&gt;id);
      $this-&gt;sendEmail($thisUser);
      return $user;
  }
  
  /* Verification Email Send Start */
  
  public function  sendEmail($thisUser)
  {
      Mail::to($thisUser['email'])-&gt;send(new VerifyEmail($thisUser));
  }
  /* Verification Email Send End */
  public function sendEmailDone($email,$verifyToken)
  {
      return $email." - ".$verifyToken;
  }
  public function verifyEmailFirst()
  {
      return view('email.verifyEmailFirst');
  }
  }
  </code></pre>
  
  <h1>.env File Configuration</h1>
  
  <pre><code>MAIL_HOST=smtp.gmail.com
  MAIL_PORT=587
  MAIL_USERNAME=myEmail@gmail.com
  MAIL_PASSWORD=myPassword
  MAIL_ENCRYPTION=tls
  </code></pre>
  
  <p>After registration complete it will be redirect to a route</p>
  
  <h1>RegistersUsers file Configuration</h1>
  
  <pre><code>public function register(Request $request)
  {
      $this-&gt;validator($request-&gt;all())-&gt;validate();
  
      event(new Registered($user = $this-&gt;create($request-&gt;all())));
      return redirect()-&gt;route('verifyEmailFirst');
  
      return $this-&gt;registered($request, $user)
                      ?: redirect($this-&gt;redirectPath());
  }
  </code></pre>
  
  <h1>web.php Route Configuration code Below :</h1>
  
  <pre><code>Route::get('/EmailVerification','Auth\RegisterController@verifyEmailFirst')- 
  &gt;name('verifyEmailFirst');
  Route::get('/verify/{email}/{verifyToken}','Auth\RegisterController@sendEmailDone')-&gt;name('sendEmailDone');
  </code></pre>
  
  <h1>email.sendView view file Code Below :</h1>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
  &lt;title&gt;Email Verification&lt;/title&gt;
  &lt;meta charset="utf-8"&gt;
  &lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;
  &lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt;
   &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"&gt; 
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
     &lt;div class="container"&gt;
  
      &lt;h2 class="well text-center"&gt;Email Verification Link Below&lt;/h2&gt;
  
      &lt;a href="{{ route('sendEmailDone',["email"=&gt;$user-&gt;email,"verifyToken"=&gt;$user-&gt;verifyToken]) }}" class="btn btn-info btn-block" target="_blank"&gt;Verify Email Button&lt;/a&gt;
  
     &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <h1>What's wrong here ?</h1>