Plötzlich kommt das App-Passwort zurück. Authentifizierung fehlgeschlagenPhp

PHP-Programmierer chatten hier
Anonymous
 Plötzlich kommt das App-Passwort zurück. Authentifizierung fehlgeschlagen

Post by Anonymous »

Ich habe Code, um Folgendes in meiner Umgebungsdatei zu verwenden:

Code: Select all

[email protected]
GOOGLE_PASSWORD='xxxx xxxx xxxx xxxx'
Und PHP-Code wie folgt – mit Swift_Mailer

Code: Select all

// Create the Transport$transport = (new Swift_SmtpTransport('smtp.gmail.com', 465, 'ssl'))->setUsername($_ENV['GOOGLE_EMAIL'])->setPassword($_ENV['GOOGLE_PASSWORD']);
Aber plötzlich bekomme ich heute Folgendes:

Code: Select all

Failed to authenticate on SMTP server with username "[email protected]" using 3 possible authenticators.

Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535-5.7.8 Username and Password not accepted. For more information, go to 535 5.7.8 https://support.google.com/mail/?p=BadCredentials xxx-xxx.17 - gsmtp ".

Authenticator PLAIN returned Expected response code 235 but got code "535", with message "535-5.7.8 Username and Password not accepted. For more information, go to 535 5.7.8 https://support.google.com/mail/?p=BadCredentials xxx-xxx.17 - gsmtp ".

Authenticator XOAUTH2 returned Expected response code 250 but got code "535", with message "535-5.7.8 Username and Password not accepted. For more information, go to 535 5.7.8 https://support.google.com/mail/?p=BadCredentials xxx-xxx.17 - gsmtp ".

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post