gmail requires some security stuff, that the default cakePHP email
component does not support. I'm successfully using swiftmailer and the
SwiftMailer Component by Gediminas Morkevicius to send mails via
GMail.

On 21 Sep., 17:18, pang <[email protected]> wrote:
> I follow the configuration in the cakhphp 
> tutorialhttp://book.cakephp.org/view/1290/Sending-A-Message-Using-SMTP,
> to set smtp options like follows:
>
>    /* SMTP Options */
>    $this->Email->smtpOptions = array(
>         'port'=>'465',
>         'timeout'=>'30',
>         'host' => 'ssl://smtp.gmail.com',
>         'username'=>'[email protected]',
>         'password'=>'your_gmail_password',
>    );
>
> I also try to change port number to 587, it still doesn't work, what
> else should I do?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to