I made sure that I enabled 2 factor authentication in Google settings and I created (and re-created) an App password, which I'm using in my Joomla settings. I am getting the below error when I have the this configured:
I tried STARTTLS with port 587, SSL with port 25, smtp-relay.gmail.com with port 465 or 587. Nothing. All errors out or times out. I've spent three days looking through anything I could find on Google and on here. Nothing helped so far. I'm at my wits end.Error
An error has occurred while fetching the JSON data: HTTP 405 status code. error
Is my host (Bluehost) blocking Gmail? Does it matter that my DNS is configured by GoDaddy?
Interestingly, I am able to use Google's API to send forms via Gmail on my other site using the same host and DNS provider, although that site is set up with Wordpress and it is using WP Mail SMTP by WPForms.