![](/img/trans.png)
[英]Swift_TransportException Failed to authenticate on SMTP server with username email@domain.com using 2 possible authenticators on shared host
[英]Swift_TransportException Failed to authenticate on SMTP server with username
嘿真棒的程序員!
很高興見到你們:)
這是我的網站... http://www.newdelhifreeads.com
我使用cpanel
。
有人提出過這類問題但我的問題有點不同。
每當有人試圖在我的網站上注冊或嘗試發布免費廣告時,會出現以下錯誤消息:
Swift_Transport Exception
Failed to authenticate on SMTP server with username "info@newdelhifreeads.com" using 2 possible authenticators
/home/newdelhi/public_html/protected/modules/Core/extensions/vendors/mail/vendors/swiftMailer/classes/Swift/Transport/Esmtp/AuthHandler.php(179)
167 foreach ($this->_getAuthenticatorsForAgent() as $authenticator)
168 {
169 if (in_array(strtolower($authenticator->getAuthKeyword()),
170 array_map('strtolower', $this->_esmtpParams)))
171 {
172 $count++;
173 if ($authenticator->authenticate($agent, $this->_username, $this->_password))
174 {
175 return;
176 }
177 }
178 }
179 throw new Swift_TransportException(
180 'Failed to authenticate on SMTP server with username "' .
181 $this->_username . '" using ' . $count . ' possible authenticators'
182 );
183 }
184 }
185
186 /**
187 * Not used.
188 */
189 public function getMailParams()
190 {
191 return array();
Stack Trace
#0
– /home/newdelhi/public_html/protected/modules/Core/extensions/vendors/mail/vendors/swiftMailer/classes/Swift/Transport/EsmtpTransport.php(252): Swift_Transport_Esmtp_AuthHandler->afterEhlo(Swift_SmtpTransport)
247
248 $this->_capabilities = $this->_getCapabilities($response);
249 $this->_setHandlerParams();
250 foreach ($this->_getActiveHandlers() as $handler)
251 {
252 $handler->afterEhlo($this);
253 }
254 }
255
256 /** Overridden to add Extension support */
257 protected function _doMailFromCommand($address)
#1
– /home/newdelhi/public_html/protected/modules/Core/extensions/vendors/mail/vendors/swiftMailer/classes/Swift/Transport/AbstractSmtpTransport.php(108): Swift_Transport_EsmtpTransport->_doHeloCommand()
103 catch (Swift_TransportException $e)
104 {
105 $this->_throwException($e);
106 }
107 $this->_readGreeting();
108 $this->_doHeloCommand();
109
110 if ($evt)
111 {
112 $this->_eventDispatcher->dispatchEvent($evt, 'transportStarted');
113 }
#2
– /home/newdelhi/public_html/protected/modules/Core/extensions/vendors/mail/vendors/swiftMailer/classes/Swift/Mailer.php(74): Swift_Transport_AbstractSmtpTransport->start()
69 {
70 $failedRecipients = (array) $failedRecipients;
71
72 if (!$this->_transport->isStarted())
73 {
74 $this->_transport->start();
75 }
76
77 return $this->_transport->send($message, $failedRecipients);
78 }
79
#3
+ /home/newdelhi/public_html/protected/modules/Core/extensions/vendors/mail/YiiMail.php(133): Swift_Mailer->send(Swift_Message, array())
#4
+ /home/newdelhi/public_html/protected/modules/User/services/UserService.php(311): YiiMail->send(YiiMailMessage)
#5
+ /home/newdelhi/public_html/protected/modules/Core/extensions/base/FSM.php(106): UserService->registerInFrontEnd(array("User" => array("email" => "tips4youawesome@gmail.com", "first_name" => "Naveen", "last_name" => "Gift", "verifyCode" => "uumohu"), "btnRegister" => "Register"))
#6
+ /home/newdelhi/public_html/protected/modules/Core/extensions/base/FSM.php(133): FSM::_run("User.User.registerInFrontEnd", array("User" => array("email" => "tips4youawesome@gmail.com", "first_name" => "Naveen", "last_name" => "Gift", "verifyCode" => "uumohu"), "btnRegister" => "Register"), false)
#7
+ /home/newdelhi/public_html/protected/controllers/SiteController.php(139): FSM::run("User.User.registerInFrontEnd", array("User" => array("email" => "tips4youawesome@gmail.com", "first_name" => "Naveen", "last_name" => "Gift", "verifyCode" => "uumohu"), "btnRegister" => "Register"))
#8
+ /home/newdelhi/public_html/yii-1.1.7.r3135/framework/web/actions/CInlineAction.php(50): SiteController->actionRegister()
#9
+ /home/newdelhi/public_html/yii-1.1.7.r3135/framework/web/CController.php(300): CInlineAction->runWithParams(array())
#10
+ /home/newdelhi/public_html/yii-1.1.7.r3135/framework/web/CController.php(278): CController->runAction(CInlineAction)
#11
+ /home/newdelhi/public_html/yii-1.1.7.r3135/framework/web/CController.php(257): CController->runActionWithFilters(CInlineAction, array())
#12
+ /home/newdelhi/public_html/yii-1.1.7.r3135/framework/web/CWebApplication.php(328): CController->run("register")
#13
+ /home/newdelhi/public_html/yii-1.1.7.r3135/framework/web/CWebApplication.php(121): CWebApplication->runController("site/register")
#14
+ /home/newdelhi/public_html/yii-1.1.7.r3135/framework/base/CApplication.php(155): CWebApplication->processRequest()
#15
+ /home/`newdelhi`/public_html/`index.php`(42): `CApplication`->run()
有人可以幫我解決這個問題嗎?
這將是一個很大的幫助! 謝謝.......... ;)
這可能是舊的,但有人可能會得到幫助。 我也面臨同樣的問題,並在我的Gmail帳戶上收到一封郵件,說明有人試圖通過電子郵件客戶端或其他網站破解您的帳戶。 我搜索過,發現下面這樣做可以解決這個問題。
轉到https://accounts.google.com/UnlockCaptcha並解鎖您的帳戶,以便通過其他媒體/網站進行訪問。
更新:2015年
此外,您可以嘗試此操作,請訪問https://myaccount.google.com/security#connectedapps在底部,右側有一個選項“允許安全性較低的應用”。 如果是“OFF”,請通過滑動按鈕將其打開。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.