Havouza Posted Friday at 11:34 AM Posted Friday at 11:34 AM 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
Havouza Posted Friday at 11:42 AM Author Posted Friday at 11:42 AM 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
the.rampage.rado Posted Friday at 12:20 PM Posted Friday at 12:20 PM Gmail will accept any strong password. Simply generate new one without spaces and try again. Also turn on Enable SMTP authentication and Auto TLS. Leave the SSL settings on default.
yaniv14 Posted Friday at 03:47 PM Posted Friday at 03:47 PM 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
Havouza Posted Friday at 04:09 PM Author Posted Friday at 04:09 PM Yes I know This is the app password Google generated but it does not work gygi qhrw ldmv dbpf
Havouza Posted Friday at 08:12 PM Author Posted Friday at 08:12 PM 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
Yabber Posted yesterday at 02:24 AM Posted yesterday at 02:24 AM 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.
Havouza Posted yesterday at 04:29 AM Author Posted yesterday at 04:29 AM Wellit has worked for 10 years with gmail so I think that is not a problem. But the email is already in store email so that's not the problem.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now