title: How do I send an email with Laravel 4 without using a view?
body: <p>I'm developing a site using <a href="http://laravel.com/docs/mail" rel="noreferrer">Laravel 4</a> and would like to send myself ad-hoc emails during testing, but it seems like the only way to send emails is to go through a view.</p>
  
  <p>Is it possible to do something like this?</p>
  
  <pre><code>Mail::queue('This is the body of my email', $data, function($message)
  {
      $message-&gt;to('foo@example.com', 'John Smith')-&gt;subject('This is my subject');
  });
  </code></pre>