Jackweb
1 month ago
261
1
Laravel

Swift_TransportException Failed to authenticate on SMTP server with username

Posted 1 month ago by Jackweb

Swift_TransportException Failed to authenticate on SMTP server with username "[email protected]" using 2 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 ". Authenticator PLAIN returned Expected response code 235 but got code "535", with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 ".

My server is hostinger.com.

The site has been in production for over 3 months and everything is working perfectly. But today the client contacts me to report this error.

Swift_TransportException Failed to authenticate on SMTP server with username "[email protected]" using 2 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 ". Authenticator PLAIN returned Expected response code 235 but got code "535", with message "535 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 ".

CONFIGURATION DETAIL

| SMTP Server Username |-------------------------------------------------------------------------- | | If your SMTP server requires a username for authentication, you should | set it here. This will get used to authenticate with your server on | connection. You may also set the "password" value below this one. | */

'username' => env('MAIL_USERNAME', '[email protected]'),

'password' => env('MAIL_PASSWORD'. 'ydhdydtgdrdjusosayu'),

File .env

MAIL_DRIVER=smtp MAIL_HOST=smtp.hostinger.com MAIL_PORT=587 [email protected] MAIL_PASSWORD=ydhdydtgdrdjusosayu MAIL_ENCRYPTION= [email protected]

Please, I need yours help

Please sign in or create an account to participate in this conversation.