0

嘿,很棒的程序员!

很高兴见到大家:)

这是我的网站... 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()

谁能帮我解决这个问题?

这将是一个很大的帮助!谢谢.......... ;)

4

1 回答 1

2

这可能很旧,但有人可能会通过这个获得帮助。我也遇到了同样的问题,并在我的 gmail 帐户上收到了一封邮件,说明有人试图通过电子邮件客户端或其他网站入侵您的帐户。然后我搜索并发现执行以下操作可以解决此问题。

转到https://accounts.google.com/UnlockCaptcha并解锁您的帐户,以便通过其他媒体/网站进行访问。

更新:2015

此外,您可以试试这个,转到https://myaccount.google.com/security#connectedapps 在底部,向右有一个选项“允许不太安全的应用程序”。如果它是“OFF”,则通过滑动按钮将其打开。

于 2013-12-18T11:36:22.850 回答