title: Laravel 4 Mail not passing data
body: <p>Emails works fine with dummy data:</p>
  
  <pre><code>    Mail::send('emails.contact', $messageData, function ($message) use ($messageData) {
          $message-&gt;from('joetannorella@gmail.com', 'Joe');
          $message-&gt;to('joetannorella@gmail.com','Joe T')-&gt;subject('Email Test');
      });
  </code></pre>
  
  <p>But when I try to pass data into the email, it won't send. I know a common problem is not passing through data with the <strong>use ($data)</strong>, but I am doing this and it's still not working.</p>
  
  <p>This is my code that will not work:</p>
  
  <pre><code>    $messageData = array(
          'name' =&gt; 'test name',
          'email' =&gt; 'test email',
          'message' =&gt; 'test message'
      );
  
      Mail::send('emails.contact', $messageData, function ($message) Use ($messageData) {
          $message-&gt;from($messageData['email'], $messageData['name']);
          $message-&gt;to('joetannorella@gmail.com','Joe T')-&gt;subject('Email Test');
      });
  </code></pre>
  
  <p>I'm pretty stuck for ideas now!</p>
  
  <p>Thanks</p>