Hello,
The mail on my website is done through a google account and I'm trying
to use that server to send mail (this is being done local from a site
running on XAMPP locally currently).
The settings I'm using are:
function send( $subject = 'General', $msg ){
$this->Email->from = '[EMAIL PROTECTED]';
$this->Email->to = 'Zoltan <[EMAIL PROTECTED]>';
$this->Email->subject = $subject;
$this->Email->replyTo = '[EMAIL PROTECTED]';
/* SMTP Options */
$this->Email->smtpOptions = array(
'host' => 'smtp.googlemail.com',
'username'=> '[EMAIL PROTECTED],
'password'=> 'PASSWORD';
/* Set delivery method */
$this->Email->delivery = 'smtp';
/* Do not pass any args to send() */
$this->Email->send($msg);
...
I've tried these with other smtp accounts with no problems, but with
Google the connection just seems to hang with a server time-out.
Anyone have any luck with Google's server?
Zoltan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---