title: CakePHP 2.0 Email SMTP Error
body: <p>I'm getting this error when I try to mail from CakePHP 2.0 using CakeEmail:</p>
  
  <blockquote>
    <p>SMTP Error: 502 5.5.1 Unrecognized command. p1si477061pbk.249</p>
  </blockquote>
  
  <p>I'm sending from Gmail, and here is my config:</p>
  
  <pre><code>public $gmail = array(
      'transport' =&gt; 'Smtp',
      'host' =&gt; 'aspmx.l.google.com',
      'port' =&gt; 25,
      'timeout' =&gt; 30,
      'username' =&gt; 'user',
      'password' =&gt; 'secret',
      'client' =&gt; null,
      'log' =&gt; true
      //'charset' =&gt; 'utf-8',
      //'headerCharset' =&gt; 'utf-8',
  );
  </code></pre>
  
  <p>The host and port came from this article here: <a href="http://www.google.com/support/a/bin/answer.py?answer=176600" rel="nofollow">http://www.google.com/support/a/bin/answer.py?answer=176600</a></p>