Hoy nos dejaron de funcionar los envíos de correos desde nuestras cuentas que usan Gmail como SMTP. Ayer andaban. hoy ya no. Podemos acceder a las cuentas sin problemas, por lo que descartamos cambios en las claves.
SMTPDebug_SERVER
2025-04-22 16:41:57 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP 6a1803df08f44-6f2c2af1262sm59502336d6.4 - gsmtp 2025-04-22 16:41:57 CLIENT -> SERVER: EHLO 34.232.173.37 2025-04-22 16:41:57 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [34.232.173.37]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8 2025-04-22 16:41:57 CLIENT -> SERVER: AUTH LOGIN 2025-04-22 16:41:57 SERVER -> CLIENT: 334 VXNlcm5hbWU6 2025-04-22 16:41:57 CLIENT -> SERVER: [credentials hidden] 2025-04-22 16:41:57 SERVER -> CLIENT: 334 UGFzc3dvcmQ6 2025-04-22 16:41:57 CLIENT -> SERVER: [credentials hidden] 2025-04-22 16:41:57 SERVER -> CLIENT: 535-5.7.8 Username and Password not accepted. For more information, go to535 5.7.8 https://support.google.com/mail/?p=BadCredentials 6a1803df08f44-6f2c2af1262sm59502336d6.4 - gsmtp 2025-04-22 16:41:57 SMTP ERROR: Password command failed: 535-5.7.8 Username and Password not accepted. For more information, go to535 5.7.8 https://support.google.com/mail/?p=BadCredentials 6a1803df08f44-6f2c2af1262sm59502336d6.4 - gsmtp SMTP Error: Could not authenticate. 2025-04-22 16:41:57 CLIENT -> SERVER: QUIT 2025-04-22 16:41:57 SERVER -> CLIENT: 221 2.0.0 closing connection 6a1803df08f44-6f2c2af1262sm59502336d6.4 - gsmtp SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Tanto en 3w como en Gestión.
Antes se solucionaba habilitando el Lesser Secure Apps de Google… pero ya no.
En Google encontramos
Update - February 12, 2025]: Less Secure Apps will no longer be supported as of March 14, 2025.
Pero la realidad es que empezó a pasar hoy. No el 14 de marzo.
Dejo el mensaje por si alguna otra Universidad usa cuentas de Google y tuvo algún problema similar.