How do to fix this?

Viewed 13

Swift_TransportException Failed to authenticate on SMTP server with username "info@treasometrades.com" using 2 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535 Incorrect authentication data ". Authenticator PLAIN returned Expected response code 235 but got code "535", with message "535 Incorrect authentication data ". https://treasometrades.com/admin/user/add-sub-balance/12 Stack trace Request App User Context Debug Share

Expand vendor frames 93 vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php

Swift_Transport_Esmtp_AuthHandler :191

35 vendor frames… 57 app/Http/Controllers/Admin/ManageUsersController.php App\Http\Controllers\Admin\ManageUsersController :266

6 vendor frames… 50 app/Http/Middleware/CheckDemo.php App\Http\Middleware\CheckDemo :24

1 vendor frame… 48 app/Http/Middleware/CheckRole.php App\Http\Middleware\CheckRole :28

1 vendor frame… 46 app/Http/Middleware/LocaleMiddleware.php App\Http\Middleware\LocaleMiddleware :28

44 vendor frames… 1 /home/treabgku/public_html/index.php :52 Swift_Transport_Esmtp_AuthHandler::afterEhlo vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/AuthHandler.php:191 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 try { if ($authenticator->authenticate($agent, $this->username, $this->password)) { return; } } catch (Swift_TransportException $e) { // keep the error message, but tries the other authenticators $errors[] = [$authenticator->getAuthKeyword(), $e->getMessage()]; } } }

        $message = 'Failed to authenticate on SMTP server with username "'.$this->username.'" using '.$count.' possible

authenticators.'; foreach ($errors as $error) { $message .= ' Authenticator '.$error[0].' returned '.$error[1].'.'; } throw new Swift_TransportException($message); } }

/**
 * Not used.
 */
public function getMailParams()
{
    return [];
}

/**
 * Not used.
 */
public function getRcptParams()
0 Answers
Related