Hello, I'm trying to send emails from my cake app with email
component:
$this->Email->delivery = 'smtp';
$this->Email->smtpOptions = array(
'port'=>'26',
'timeout'=>'30',
'host' => '<myserver>',
'username'=>'<myuser>',
'password'=>'<mypassword>'
);
$this->Email->to = $this->data['User']['username'];
$this->Email->subject = __('ACCOUNT_ACTIVATION', true);
$this->Email->from = '<myfromInfo>';
$this->Email->template = 'registration_activation';
$this->Email->sendAs = 'both';
$this->Email->send();
$this->Email->smtpError throws error: "550-(cake) [<ipaddress>] is
currently not permitted to relay through this 550-server. Perhaps you
have not logged into the pop/imap server in the last 30 550 minutes or
do not have SMTP Authentication turned on in your email client."
I talked with a support guy from my hosting, says "no configuring
required from our side, just that cake authenticates before sending".
Does anybody knows what's happening?
Thanks in advance
Regards
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---