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 wrote:
> I follow the configuration in the cakhphp
> tutorialh
I follow the configuration in the cakhphp tutorial
http://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',