500例外' phpmailerException'消息' SMTP错误:无法进行身份验证。'在/home/magicsco/public_html/goplus2/protected/components/phpMailer/class.phpmailer.php:1087堆栈追踪:#0 /home/magicsco/public_html/goplus2/protected/components/phpMailer/class.phpmailer.php(971 ):PHPMailer-> SmtpConnect()#1 /home/magicsco/public_html/goplus2/protected/components/phpMailer/class.phpmailer.php(845):PHPMailer-> SmtpSend(' Date:Fri,9) Ma ...',' - b1_f161430903 ...')#2 /home/magicsco/public_html/goplus2/protected/components/phpMailer/class.phpmailer.php(763): PHPMailer-> PostSend()#3 /home/magicsco/public_html/goplus2/protected/components/EmailDeliveryBehavior.php(217):PHPMailer-> Send()#4 / home / magicsco / public_html / goplus2 / protected / models /InlineEmail.php(905):EmailDeliveryBehavior-> deliverEmail(数组,'帐户记录:...','帐户记录...',NULL)#5 / home / magicsco / public_html / goplus2 / protected / controllers / x2base.php(1009):InlineEmail-> deliver()#6 / home / magicsco / public_html / goplus2 / protected / modules / accounts / co ntrollers / AccountsController.php(138):x2base-> sendUserEmail(数组,'帐户记录:...','帐户记录......')#7 [内部功能]:AccountsController-> actionShareAccount(' 5')#8 /home/magicsco/public_html/goplus2/framework/web/actions/CAction.php(108):ReflectionMethod-> invokeArgs(Object( AccountsController),Array)#9 /home/magicsco/public_html/goplus2/framework/web/actions/CInlineAction.php(47):CAction-> runWithParamsInternal(Object(AccountsController),Object(ReflectionMethod),Array)#10 / home / magicsco / public_html / goplus2 / framework / web / CController.php(308):CInlineAction-> runWithParams(Array)#11 /home/magicsco/public_html/goplus2/framework/web/filters/CFilterChain.php(133) :CController-> runAction(对象(CInlineAction))#12 /home/magicsco/public_html/goplus2/framework/web/filters/CFilter.php(40):CFilterChain-> run()#13 / home / magicsco / public_html / goplus2 / framework / web / filters / CFilterChain.php(130):CFilter-> filter(Object(CFilterCh) ain))#14 /home/magicsco/public_html/goplus2/protected/controllers/x2base.php(1088):CFilterChain-> run()#15 / home / magicsco / public_html / goplus2 / framework / web / filters / CInlineFilter .php(58):x2base-> filterSetPortlets(Object(CFilterChain))#16 /home/magicsco/public_html/goplus2/framework/web/filters/CFilterChain.php(130):CInlineFilter-> filter(Object(CFilterChain) ))#17 /home/magicsco/public_html/goplus2/framework/web/CController.php(291):CFilterChain-> run()#18 /home/magicsco/public_html/goplus2/framework/web/CController.php( 265):CController-> runActionWithFilters(Object(CInlineAction),Array)#19 /home/magicsco/public_html/goplus2/framework/web/CWebApplication.php(282):CController-> run(' shareAccount&# 39;)#20 /home/magicsco/public_html/goplus2/framework/web/CWebApplication.php(141):CWebApplication-> runController(' accounts / accoun ...')#21 / home /magicsco/public_html/goplus2/framework/base/CApplication.php(169):CWebApplication-> processRequest()#22 / h ome / magicsco / public_html / goplus2 / index.php(55):CApplication-> run()#23 {main} SMTP错误:无法进行身份验证。 /home/magicsco/public_html/goplus2/protected/components/phpMailer/class.phpmailer.php L1087
答案 0 :(得分:0)
从第一行开始,似乎存在身份验证问题:'SMTP Error: Could not authenticate.'
。凭证是否可能不正确?编辑:凭据或smtp设置可能是错误的。
PHPMailer - Gmail示例:http://phpmailer.worxware.com/?pg=examplebgmail