hi, want to send an e-mail to [EMAIL PROTECTED] with Zend_Mail_Transport_Smtp.
kepp getting the 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 this is the code: $config = array( 'auth' => 'login', 'username' => '[EMAIL PROTECTED]', 'password' => 'secret', 'ssl' => 'ssl', 'port' => 465 ); $tr = new Zend_Mail_Transport_Smtp('smtp.googlemail.com', $config); Zend_Mail::setDefaultTransport($tr); $mail = new Zend_Mail(); $mail->setFrom (...); $mail->addTo ('[EMAIL PROTECTED]', 'Info'); $mail->setSubject (...); $mail->setBodyText(...); $mail->send(); i already tried "tls" instead of "ssl" and "plain" instead of "login". always an error. whats wrong here? thanx mike -- View this message in context: http://www.nabble.com/Zend_Mail---how-to-use-Zend_Mail_Transport_Smtp-for-googlemail.com-tf4097373s16154.html#a11650927 Sent from the Zend Framework mailing list archive at Nabble.com.