2022-08-11 20:16:10 Connection: opening to smtp.gmail.com:587, timeout=300, options=array ()
2022-08-11 20:16:11 Connection: opened
2022-08-11 20:16:11 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP s9-20020a634509000000b0041a8f882e5bsm136895pga.42 - gsmtp
2022-08-11 20:16:11 CLIENT -> SERVER: EHLO nhm.psu.ac.th
2022-08-11 20:16:11 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [192.100.77.247]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
2022-08-11 20:16:11 CLIENT -> SERVER: STARTTLS
2022-08-11 20:16:11 SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
2022-08-11 20:16:12 CLIENT -> SERVER: EHLO nhm.psu.ac.th
2022-08-11 20:16:12 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [192.100.77.247]250-SIZE 35882577250-8BITMIME250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
2022-08-11 20:16:12 CLIENT -> SERVER: AUTH LOGIN
2022-08-11 20:16:12 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2022-08-11 20:16:12 CLIENT -> SERVER: bmF0amRlZS5pY3RAZ21haWwuY29t
2022-08-11 20:16:12 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2022-08-11 20:16:12 CLIENT -> SERVER: bmF0aWN0OTA2NTs=
2022-08-11 20:16:12 SERVER -> CLIENT: 535-5.7.8 Username and Password not accepted. Learn more at535 5.7.8 https://support.google.com/mail/?p=BadCredentials s9-20020a634509000000b0041a8f882e5bsm136895pga.42 - gsmtp
2022-08-11 20:16:12 SMTP ERROR: Password command failed: 535-5.7.8 Username and Password not accepted. Learn more at535 5.7.8 https://support.google.com/mail/?p=BadCredentials s9-20020a634509000000b0041a8f882e5bsm136895pga.42 - gsmtp
SMTP Error: Could not authenticate.
2022-08-11 20:16:12 CLIENT -> SERVER: QUIT
2022-08-11 20:16:13 SERVER -> CLIENT: 221 2.0.0 closing connection s9-20020a634509000000b0041a8f882e5bsm136895pga.42 - gsmtp
2022-08-11 20:16:13 Connection: closed
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting