title: Emailing in CakePHP
body: <p>I am trying use the <code>Emailing System(CakeEmail Class)</code> in my CakePHP application. When a new user registeres with my site, it'll send him/her an email saying that "You are saved, now follow this link to login". I added this feature, but its not sending any mail or show me whats the wrong with the code. This is the code:
  p</p>
  
  <pre><code>App::uses('AppController','Controller','CakeEmail','Network/Email');p
  .
  .
  .
  public function signUp(){
      if($this-&gt;request-&gt;is('post')){
         $this-&gt;User-&gt;create();
         if($this-&gt;User-&gt;save($this-&gt;request-&gt;data)){
            $Email=new CakeEmail('default');
            $Email-&gt;from(array('admin_beauty_class@email.com'=&gt;'My Site'))
                  -&gt;to($this-&gt;request-&gt;data['User']['username'])
                  -&gt;subject('Welcome to Beauty Class')
                  -&gt;send('My message');
            $this-&gt;Session-&gt;setFlash(__('You have been saved and an email has just been sent to you, check your mail-box and follow the given link to login'));
            $this-&gt;redirect();
         }else{
            $this-&gt;Session-&gt;setFlash(__('The user could not be saved. Please, try again.'));
         }
      }
      $this-&gt;set('title_for_layout','Sign Up');
  }
  </code></pre>