When trying to send email from localhost I got this error using swift mailer extension
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 support.google.com/mail/?p=BadCredentials 189sm6173361pgh.5 - gsmtp
I’m sorry, but I don’t understand what you are asking. Please try to elaborate your issue with more details, and hopefully someone will give you a help.