When I try to reset my password, I get the following error:
Also tried resetting with someone else's account, and the same error was given.
Swift_TransportException
Failed to authenticate on SMTP server with username "tabbie@diphda.uberspace.de" using 2 possible authenticators
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php at line 181
172173174175176177178179180181182183184185186187188189190 foreach ($this->_getAuthenticatorsForAgent() as $authenticator) {
if (in_array(strtolower($authenticator->getAuthKeyword()),
array_map('strtolower', $this->_esmtpParams))) {
++$count;
if ($authenticator->authenticate($agent, $this->_username, $this->_password)) {
return;
}
}
}
throw new Swift_TransportException(
'Failed to authenticate on SMTP server with username "'.
$this->_username.'" using '.$count.' possible authenticators'
);
}
}
/**
Not used.
*/
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php at line 334 – Swift_Transport_Esmtp_AuthHandler::afterEhlo(Swift_SmtpTransport)
328329330331332333334335336337338339340 }
}
/* Overridden to add Extension support /
protected function _doMailFromCommand($address)
{
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php at line 118 – Swift_Transport_EsmtpTransport::_doHeloCommand()
112113114115116117118119120121122123124 try {
$this->_buffer->initialize($this->_getBufferParams());
} catch (Swift_TransportException $e) {
$this->_throwException($e);
}
$this->_readGreeting();
$this->_doHeloCommand();
if ($evt) {
$this->_eventDispatcher->dispatchEvent($evt, 'transportStarted');
}
$this->_started = true;
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php at line 79 – Swift_Transport_AbstractSmtpTransport::start()
73747576777879808182838485 */
public function send(Swift_Mime_Message $message, &$failedRecipients = null)
{
$failedRecipients = (array) $failedRecipients;
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/yiisoft/yii2/mail/BaseMailer.php at line 260 – yii\swiftmailer\Mailer::sendMessage(yii\swiftmailer\Message)
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/yiisoft/yii2/mail/BaseMessage.php at line 48 – yii\mail\BaseMailer::send(yii\swiftmailer\Message)
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/frontend/models/PasswordResetRequestForm.php at line 55 – yii\mail\BaseMessage::send()
49505152535455565758596061
if ($user->save()) {
return \Yii::$app->mailer->compose('passwordResetToken', ['user' => $user])
->setFrom([\Yii::$app->params['supportEmail'] => \Yii::$app->params["appName"] . ' robot'])
->setTo($this->email)
->setSubject(Yii::t("app", 'Password reset for {user}', ["user" => $user->getName()]))
->send();
} else {
$this->addError("user", $user->getErrors());
Yii::error("Password reset error: " . ObjectError::getMsg($user), METHOD);
}
} else {
$this->addError("email", Yii::t("app", "User not found with this Email"));
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/frontend/controllers/SiteController.php at line 217 – frontend\models\PasswordResetRequestForm::sendEmail()
211212213214215216217218219220221222223 ]);
}
public function actionRequestPasswordReset() {
$model = new PasswordResetRequestForm();
if ($model->load(Yii::$app->request->post()) && $model->validate()) {
if ($model->sendEmail()) {
Yii::$app->getSession()
->setFlash('success', Yii::t("app", 'Check your email for further instructions.'));
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/yiisoft/yii2/base/InlineAction.php at line 55 – call_user_func_array([frontend\controllers\SiteController, 'actionRequestPasswordReset'], [])
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/yiisoft/yii2/base/Controller.php at line 154 – yii\base\InlineAction::runWithParams([])
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/yiisoft/yii2/base/Module.php at line 454 – yii\base\Controller::runAction('request-password-reset', [])
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/yiisoft/yii2/web/Application.php at line 84 – yii\base\Module::runAction('site/request-password-reset', [])
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/yiisoft/yii2/base/Application.php at line 375 – yii\web\Application::handleRequest(yii\web\Request)
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/frontend/web/index.php at line 18 – yii\base\Application::run()
12131415161718
$config = yii\helpers\ArrayHelper::merge(
require(DIR . '/../../common/config/main.php'), require(DIR . '/../../common/config/main-local.php'), require(DIR . '/../config/main.php'), require(DIR . '/../config/main-local.php')
);
When I try to reset my password, I get the following error: Also tried resetting with someone else's account, and the same error was given.
Swift_TransportException Failed to authenticate on SMTP server with username "tabbie@diphda.uberspace.de" using 2 possible authenticators
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php at line 181 172173174175176177178179180181182183184185186187188189190 foreach ($this->_getAuthenticatorsForAgent() as $authenticator) { if (in_array(strtolower($authenticator->getAuthKeyword()), array_map('strtolower', $this->_esmtpParams))) { ++$count; if ($authenticator->authenticate($agent, $this->_username, $this->_password)) { return; } } } throw new Swift_TransportException( 'Failed to authenticate on SMTP server with username "'. $this->_username.'" using '.$count.' possible authenticators' ); } }
/**
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php at line 334 – Swift_Transport_Esmtp_AuthHandler::afterEhlo(Swift_SmtpTransport) 328329330331332333334335336337338339340 } }
}
/* Overridden to add Extension support / protected function _doMailFromCommand($address) {
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php at line 118 – Swift_Transport_EsmtpTransport::_doHeloCommand() 112113114115116117118119120121122123124 try { $this->_buffer->initialize($this->_getBufferParams()); } catch (Swift_TransportException $e) { $this->_throwException($e); } $this->_readGreeting(); $this->_doHeloCommand();
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php at line 79 – Swift_Transport_AbstractSmtpTransport::start() 73747576777879808182838485 */ public function send(Swift_Mime_Message $message, &$failedRecipients = null) { $failedRecipients = (array) $failedRecipients;
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/vendor/yiisoft/yii2-swiftmailer/Mailer.php at line 146 – Swift_Mailer::send(Swift_Message) 140141142143144145146147148149150151152 $address = $message->getTo(); if (is_array($address)) { $address = implode(', ', array_keys($address)); } Yii::info('Sending email "' . $message->getSubject() . '" to "' . $address . '"', METHOD);
}
/**
in /var/www/virtual/tabbie/tabbie2/tabbie2.git/frontend/controllers/SiteController.php at line 217 – frontend\models\PasswordResetRequestForm::sendEmail() 211212213214215216217218219220221222223 ]); }
public function actionRequestPasswordReset() { $model = new PasswordResetRequestForm(); if ($model->load(Yii::$app->request->post()) && $model->validate()) { if ($model->sendEmail()) { Yii::$app->getSession() ->setFlash('success', Yii::t("app", 'Check your email for further instructions.'));
$application = new yii\web\Application($config); $application->run(); $_POST = [ '_csrf' => 'R3BKQ25QMVMgJgE1VyhXZQ0.A3A2CWgVHihnMCsYQyJwRy8AITYECg==', 'PasswordResetRequestForm' => [ 'email' => 'sampmeyjes@gmail.com', ], ];
$_COOKIE = [ '_ga' => 'GA1.2.227183863.1508255522', 'PHPSESSID' => 'nhma0bgm29qgd70sq4udc5aqq2', '_csrf' => 'c1b773cce0b150ce164cf4dc7011c4e3d1b5ff8fef6b33c0d24308784b510bbfa:2:{i:0;s:5:"_csrf";i:1;s:32:"gVKv9xf6JNI3XYYFYX-sEHrq77eCOf5Y";}', '_gid' => 'GA1.2.355340685.1519047134', '_gat' => '1', ];
$_SESSION = [ '__flash' => [], ];