不管我設定用SMTP或是PHP MAIL(),都是一樣失敗!
這台機器是
WINDOWS XP
APPSERV2.3.0
但是我校內另一台LINUX機器架設PHPBB就可以發信,所以SMTP SERVER(放在台北市教育中心)應該是可以連接上的才對!
這幾天看了討論區好多篇文章,我還是想不出我的解決方式,所以就來問問大家了
麻煩大家幫我想一想!謝謝!
錯誤訊息如下
Exception message: mail(): Failed to connect to mailserver at "smtp.tp.edu.tw" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
Error code: 2
-- Backtrace --
c:\appserv\www\lmblog\class\mail\phpmailer\class.phpmailer.php(442): mail
c:\appserv\www\lmblog\class\mail\phpmailer\class.phpmailer.php(373): phpmailer.mailsend
c:\appserv\www\lmblog\class\mail\emailservice.class.php(180): phpmailer.send
c:\appserv\www\lmblog\class\summary\action\dofinishregister.class.php(194): emailservice.sendmessage
c:\appserv\www\lmblog\class\summary\action\dofinishregister.class.php(153): dofinishregister.sendconfirmemail
c:\appserv\www\lmblog\class\summary\action\dofinishregister.class.php(45): dofinishregister.doneregister
c:\appserv\www\lmblog\class\controller\controller.class.php(305): dofinishregister.perform
c:\appserv\www\lmblog\summary.php(80): summarycontroller.process