Try its working.
On Thursday, 23 September 2010 20:22:18 UTC+5:30, pang wrote:
-- $Email = new CakeEmail(array(
'port' => '465',
'timeout' => '300',
'host' => 'ssl://smtp.gmail.com',
'username' => 'username@gmail.com',
'password' => 'password',
'transport' => 'Smtp'
));
$Email->emailFormat('html');
$Email->subject('my subject');
$Email->to('tomail@domain.com');
$Email->from('from@domain.com');
$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
ser...@tagroup.se,
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'=>'ser...@tagroup.se ',
'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 cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment