title: cakephp emails not working
body: <p>my problem is:</p>
  
  <p>in the controller I have:</p>
  
  <p>var $components = array('Email');</p>
  
  <p>the method to send emails looks like this:</p>
  
  <pre><code>function send_emails() {
    $this-&gt;Email-&gt;from    = 'Somebody &lt;somebody@example.com&gt;';
    $this-&gt;Email-&gt;to      = 'Somebody Else &lt;myspamplace@centrum.cz&gt;';
    $this-&gt;Email-&gt;subject = 'Test';
    $this-&gt;Email-&gt;send('Hello message body!');
   }
  </code></pre>
  
  <p>I am using Cake 1.3 and running it on localhost with Apache 2.2.11 and PHP5. Do you guys have any idea why it doesn't work?</p>
  
  <p>When I put </p>
  
  <pre><code>$this-&gt;Email-&gt;delivery = 'debug';
  </code></pre>
  
  <p>in the code, it displays the email info and it seems like everything is ok.</p>
  
  <p>Do you have any ideas what can be the reason why it doesn't send email?</p>