2
Zend를 사용하고 있는데 파일을 업로드하는 페이지를 제출할 때이 오류 [500 Internal Server Error]가 발생합니다. 오류 로그 파일은 아래와 같습니다. 이메일이 내부 서버 오류와 관련이 있습니까? 페이지/스크립트가 메일을 보내려고 시도 localhost:25
에서 실행되는 SMTP 서버에 연결을 시도처럼500 Zend의 내부 서버 오류
[23-Sep-2012 18:15:12] PHP Fatal error: Uncaught exception 'Zend_Mail_Transport_Exception' with message 'Unable to send mail. mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()' in C:\Tools\Zend\ZendServer\share\ZendFramework\library\Zend\Mail\Transport\Sendmail.php:137
Stack trace:
#0 C:\Tools\Zend\ZendServer\share\ZendFramework\library\Zend\Mail\Transport\Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
#1 C:\Tools\Zend\ZendServer\share\ZendFramework\library\Zend\Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#2 C:\Projects\dcs_new\config_local.php(86): Zend_Mail->send()
#3 C:\Projects\dcs_new\functions.php(277): smail('[email protected]', 'DCS: Document c...', 'Title: Testing ...', 'From: TAN CHEN ...')
#4 C:\Projects\dcs_new\functions.php(284): email_users_obj('[email protected]', Array, 'DCS: Document c...', 'Title: Testing ...', 'From: TAN CHEN ...')
in C:\Tools\Zend\ZendServer\share\ZendFramework\library\Zend\Mail\Transport\Sendmail.php on line 137
서버의 sendmail, postfix 또는 SMTP 메일 설정을 수행합니까? – GBD
당신은 메일을 보내려 시도하고 잡아야하고 그 실패에 대해 ie와 반응해야합니다. –
어떻게 다시 확인할 수 있습니까? phpinfo에서 확인할 수 있습니까? – redcoder