ZF ile SMTP e-postalar gönderme (PHP)

0 Cevap php

I have a problem with sending emails with smtp.
The emails sometimes are sent, sometimes not.
Once I could send 5 mails and every one is come, other time I cant send 3 mails in a row. The log shows "connection timeout" but like I said only sometimes.
I'm using Apache, PHP with Zend Framework and its running on my own server with gentoo. Account wich I'm trying to send emails is gmail.

When I tried to send from diferent server with the same account, problem doesn't occurred. So I'm guessing the problem is with my server. Problem was also when I tried to send emails via php's function mail().

EDIT:

Bu benim logger gelen kodu

2011-01-10T14:17:56+01:00 ERR (3): Connection timed out
CODE: 0, file: /virtual/_http/dest/Zend/Mail/Protocol/Abstract.php(277)
\#0 /virtual/_http/dest/Zend/Mail/Protocol/Smtp.php(167): Zend_Mail_Protocol_Abstract->_connect('ssl://74.125.79...')
\#1 /virtual/_http/dest/Zend/Mail/Transport/Smtp.php(199): Zend_Mail_Protocol_Smtp->connect()
\#2 /virtual/_http/dest/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
\#3 /virtual/_http/dest/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
\#4 /virtual/_http/dest/include/func.php(70): Zend_Mail->send()
\#5 /virtual/_http/dest/register.php(371): f_send_mail('some_mail@mail...', 'mail/active_acc...', 'mail/active_acc...', 'no-reply@....', 'no-reply', '/virtual/_http/...')
\#6 {main}

0 Cevap