sending mail using swift mailer where i am getting the below error
Fatal error: Uncaught Swift_TransportException: 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. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials s18-20020a170902a51200b0019f39e4f120sm2611923plq.18 - gsmtp ". Authenticator PLAIN returned Expected response code 235 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials s18-20020a170902a51200b0019f39e4f120sm2611923plq.18 - gsmtp ". Authenticator XOAUTH2 returned Expected response code 250 but got code "535", with message "535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials s18-20020a170902a51200b0019f39e4f120sm2611923plq.18 - gsmtp ". in C:\Apache24\htdocs\swiftmailer\vendor\swiftmai in C:\Apache24\htdocs\swiftmailer\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\Esmtp\AuthHandler.php on line 191