title: Confused about Laravel 5 Queue for Sending Mail (Laravel 5.4)
body: <p>I upgrade from Laravel <code>4.1</code> to <code>5.4</code>. Queue migration is difficult.</p>
  
  <p>Firstly, I commented out <code>iron</code> route from routes:</p>
  
  <pre><code>Route::post('queue/receive', function()
  {
      return Queue::marshal();
  });
  </code></pre>
  
  <p>Then, I configured database driver and migrated <code>jobs</code> table:</p>
  
  <pre><code>php artisan queue:table
  php artisan migrate
  </code></pre>
  
  <p>I changed <code>Mail::queue</code> codes to the Mailables like this:</p>
  
  <pre><code>Mail::to('person@gmail.com')-&gt;send(new ForgotPassword($user-&gt;first_name));
  </code></pre>
  
  <p>I succeeded to send mails synchronously (without queue). Then, I switched to queue:</p>
  
  <pre><code>Mail::to('person@gmail.com')-&gt;queue(new ForgotPassword($user-&gt;first_name));
  </code></pre>
  
  <p>And lastly, I run this command from console:</p>
  
  <pre><code>php artisan queue:listen
  </code></pre>
  
  <p>When a <code>Mail::to</code> line is executed, a row is inserted to the <code>Jobs</code> table but mail isn't sent. How can I solve this problem?</p>
  
  <p>Note: <code>ForgotPassword</code> is a <code>Mailable</code> class (should be a <code>Job</code> class?).</p>