PHP寄送mail的問題

我要用PHP寄送mail出去,可是出現以下的錯誤代碼,可否請各位先進指導一下錯誤的方向,不勝感激

[22-Oct-2015 15:37:11 Asia/Brunei] PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in C:\inetpub\wwwroot\pub\PHPMailer\class.smtp.php on line 197
[22-Oct-2015 15:37:11 Asia/Brunei] PHP Fatal error: Uncaught exception 'phpmailerException' with message 'Language string failed to load: tls' in C:\inetpub\wwwroot\pub\PHPMailer\class.phpmailer.php:804
Stack trace:
#0 C:\inetpub\wwwroot\pub\PHPMailer\class.phpmailer.php(705): PHPMailer->SmtpConnect()
#1 C:\inetpub\wwwroot\pub\PHPMailer\class.phpmailer.php(576): PHPMailer->SmtpSend('Date: Thu, 22 O...', '--b1_10be053b85...')
#2 C:\inetpub\wwwroot\mag\mag_SpeechMesgSend.php(152): PHPMailer->Send()
#3 {main}
thrown in C:\inetpub\wwwroot\pub\PHPMailer\class.phpmailer.php on line 804

評論

Sign In or Register to comment.