Jump to content
thirty bees forum

Recommended Posts

Posted

I try to setup the PhpMailer module to use smtp.gmail.com. Have go a app password and configured using TLS and port 587 but get "Failed to send email: SMTP Error: Could not authenticate."

 

What can be wrong. I have checked the password 10 times and tested both as it is generated with a spce between every 4 symbols and with the spaces taken away which I think is the correct way. It should contail 16 symbols

Posted

When I generated the password I got it with 16 symbols but with a space after each 4 symbols. According to ChatGpt it should be used without the spaces

 

Posted

he was talking about app password which google generate for you.

maybe you can verify that the password actually saves in your database, because it looks like you are doing everything right.

you can try running sql query to check it from sql manager in advance parameter (or phpmyadmin if you have access).

select value from tb_configuration where name = 'TBPHPMAILER_MAIL_PASSWD';

assuming you have tb_ prefix

Posted

Not possible to get it to work. I have created a number of new app passwords but same error. I used telnet to see so nothing else blocked 587 but its no pproblem to connect to smtp.gmail.com

Posted

Enter this email from google in: Preferences -> Store Contacts: Shop email

By the way, the store should use the store domain email. Using some junk email from google is zero professionalism. The customer doesn't know from whom he gets this email, maybe from the store, or maybe from some hackers.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...