I'm pretty sure the port is 465.

Also check that you have the correct stream wrappers compiled into PHP (visible from phpinfo())

K
----- Original Message ----- From: "mike55" <[EMAIL PROTECTED]>
To: <fw-general@lists.zend.com>
Sent: Tuesday, July 17, 2007 10:23 AM
Subject: Re: [fw-general] Zend_Mail - how to use Zend_Mail_Transport_Smtp for googlemail.com




Jack Sleight wrote:

And it should definitely be TLS not SSL.



tried that:

$config = array(
'auth' => 'login',
         'username' => '[EMAIL PROTECTED]',
'password' => 'secret',
'ssl' => 'tls',
'port' => 587
);
$tr = new Zend_Mail_Transport_Smtp('smtp.googlemail.com', $config);
Zend_Mail::setDefaultTransport($tr);


still this error:
Warning: fgets() [function.fgets]: SSL: fatal protocol error in
D:\adat\awebsites\ev-manager\mvc-site\lib\Zend\Mail\Protocol\Abstract.php on
line 303
Fatal error: Exception thrown without a stack frame in Unknown on line 0

--
View this message in context: http://www.nabble.com/Zend_Mail---how-to-use-Zend_Mail_Transport_Smtp-for-googlemail.com-tf4097373s16154.html#a11652871
Sent from the Zend Framework mailing list archive at Nabble.com.


Reply via email to