title: Cakephp email error
body: <p>My controller</p>
  
  <pre><code>App::uses('CakeEmail', 'Network/Email'); //before class begins
  
  //function
  public function contact(){
  
          $email = new CakeEmail();
          $email-&gt;config('smtp');
          $email-&gt;from('me@gmail.com');
          $email-&gt;to('you@gmail.com');
          $email-&gt;subject('About');
          $email-&gt;send('My message');
      }
  
  //Email.php in config folder
  
  class EmailConfig {
  
      public $smtp = array(
          'transport' =&gt; 'Smtp',
          'from' =&gt; 'me@gmail.com',
          'host' =&gt; 'smtp.gmail.com',
          'port' =&gt; 465,
          //'timeout' =&gt; 30,
          'username' =&gt; 'me@gmail.com',
          'password' =&gt; '*****',
          'client' =&gt; null,
          'log' =&gt; false,
          //'charset' =&gt; 'utf-8',
          //'headerCharset' =&gt; 'utf-8',
      ); 
  }
  </code></pre>
  
  <p>The error i get is</p>
  
  <blockquote>
    <p>Fatal error: Maximum execution time of 30 seconds exceeded in
    C:\wamp\www\myproject\lib\Cake\Network\CakeSocket.php on line 222</p>
  </blockquote>
  
  <p>what do i need to change?</p>
  
  <p>I even created the view file in Views/Users/contact. </p>
  
  <p>Do i need to change the view file in View/Email folder?</p>