Try its working.

$Email = new CakeEmail(array(
                        'port' => '465',
                        'timeout' => '300',
                        'host' => 'ssl://smtp.gmail.com',
                        'username' => '[email protected]',
                        'password' => 'password',
                        'transport' => 'Smtp'
                    ));
            $Email->emailFormat('html');
            $Email->subject('my subject');
            $Email->to('[email protected]');
            $Email->from('[email protected]');
            $Email->send('send message to user.');

Thanks,

On Thursday, 23 September 2010 20:22:18 UTC+5:30, pang wrote:
>
> I met a strange problem while using gmail as SMTP server. 
>
> What I want to do is to send bulk email with my domain email 
> [email protected] <javascript:>, 
>
> I used cakephp Email component to handle this , I followed exact 
> configuration as mentioned in links below (CakePHP official tutorial 
> site), but the email can't be sent 
>
> http://book.cakephp.org/view/1290/Sending-A-Message-Using-SMTP 
>
>
> My configuration is as follows: 
>
>         'port'=>'465', 
>         'timeout'=>'30', 
>         'host' => 'ssl://smtp.gmail.com', 
>         'username'=>'[email protected] <javascript:>', 
>         'password'=>'xxxxxxxx' 
>
> But mail can't be sent. Do I need to set any more parameters?

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to