Hi Ive been struggling with this for weeks - Ive followed the instructions as to how to capture error msg when the send test mail is activated - Ive created an app password for the gmail account I want to use and it allows me to login to gmail correctly but I cannot authenticate when I try to enable the smtp server
So it appears I need another auth method but have no idea how to create one - any advice would be appreciated
Error in Mail API: Requested auth method not available
2025-01-16T03:52:45+00:00 ERROR 172.69.165.68 mail Error in Mail API: Connection: opening to ssl://smtp.gmail.com:465, timeout=300, options=array()
2025-01-16T03:52:45+00:00 ERROR 172.69.165.68 mail Error in Mail API: Connection: opened
2025-01-16T03:52:45+00:00 ERROR 172.69.165.68 mail Error in Mail API: SMTP INBOUND: "220 smtp.gmail.com ESMTP d9443c01a7336-21a9f138472sm88846965ad.98 - gsmtp"
2025-01-16T03:52:45+00:00 ERROR 172.69.165.68 mail Error in Mail API: SERVER -> CLIENT: 220 smtp.gmail.com ESMTP d9443c01a7336-21a9f138472sm88846965ad.98 - gsmtp
2025-01-16T03:52:45+00:00 ERROR 172.69.165.68 mail Error in Mail API: CLIENT -> SERVER: EHLO
2025-01-16T03:52:45+00:00 ERROR 172.69.165.68 mail Error in Mail API: Auth method requested: UNSPECIFIED
2025-01-16T03:52:45+00:00 ERROR 172.69.165.68 mail Error in Mail API: Auth methods available on the server: LOGIN,PLAIN,XOAUTH2,PLAIN-CLIENTTOKEN,OAUTHBEARER,XOAUTH
2025-01-16T03:52:45+00:00 ERROR 172.69.165.68 mail Error in Mail API: Requested auth method not available:
2025-01-16T03:52:45+00:00 ERROR 172.69.165.68 mail Error in Mail API: Auth method selected: LOGIN
2025-01-16T03:52:45+00:00 ERROR 172.69.165.68 mail Error in Mail API: CLIENT -> SERVER: AUTH LOGIN
Advertisement
Gmail SMTP server mail Error in Mail API: Requested auth method not available
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Apprentice
- Posts: 33
- Joined: Fri May 26, 2017 1:12 am
Advertisement
- toivo
- Joomla! Master
- Posts: 18031
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Gmail SMTP server mail Error in Mail API: Requested auth method not available
That is not an error. It is a normal part of the dialogue between Joomla and the Gmail SMTP server. That message should be followed by the following lines, for example:greencomputing wrote: ↑Thu Jan 16, 2025 4:20 amError in Mail API: Requested auth method not available
Code: Select all
2025-01-16T05:24:41+00:00 ERROR 127.0.0.1 mail Error in Mail API: Auth method selected: LOGIN
2025-01-16T05:24:41+00:00 ERROR 127.0.0.1 mail Error in Mail API: CLIENT -> SERVER: AUTH LOGIN
2025-01-16T05:24:42+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "334 VXNlcm5hbWU6"
2025-01-16T05:24:42+00:00 ERROR 127.0.0.1 mail Error in Mail API: SERVER -> CLIENT: 334 VXNlcm5hbWU6
2025-01-16T05:24:42+00:00 ERROR 127.0.0.1 mail Error in Mail API: CLIENT -> SERVER: dG9pdm8udGFsaWtrYUBnbWFpbC5jb20=
2025-01-16T05:24:42+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "334 UGFzc3dvcmQ6"
2025-01-16T05:24:42+00:00 ERROR 127.0.0.1 mail Error in Mail API: SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2025-01-16T05:24:42+00:00 ERROR 127.0.0.1 mail Error in Mail API: CLIENT -> SERVER: eGhkbGdudXF0YWx4cXR1bw==
2025-01-16T05:24:42+00:00 ERROR 127.0.0.1 mail Error in Mail API: SMTP INBOUND: "235 2.7.0 Accepted"
2025-01-16T05:24:42+00:00 ERROR 127.0.0.1 mail Error in Mail API: SERVER -> CLIENT: 235 2.7.0 Accepted
Was the last line in your log just "CLIENT -> SERVER: AUTH LOGIN"?
No need to create new authentication methods. The following SMTP configuration options in Joomla work all right with the app password when connecting to the SMTP server smtp.gmail.com:greencomputing wrote: ↑Thu Jan 16, 2025 4:20 amSo it appears I need another auth method but have no idea how to create one
465 - SSL/TSL
587 - STARTTLS
Toivo Talikka, Global Moderator
- Yiannistaos
- Joomla! Enthusiast
- Posts: 206
- Joined: Sat Aug 08, 2009 11:37 am
- Contact:
Re: Gmail SMTP server mail Error in Mail API: Requested auth method not available
I don't know if your issue is related to the new Google standards, but Google has announced that starting January 2025, it will no longer support “less secure apps” accessing Google Accounts. For many Joomla! sites relying on Gmail’s SMTP server to send emails—whether for contact forms, notifications, or other communications—this change could lead to a complete breakdown in functionality unless updated protocols are adopted. https://support.google.com/accounts/ans ... 0255?hl=engreencomputing wrote: ↑Thu Jan 16, 2025 4:20 am Hi Ive been struggling with this for weeks - Ive followed the instructions as to how to capture error msg when the send test mail is activated - Ive created an app password for the gmail account I want to use and it allows me to login to gmail correctly but I cannot authenticate when I try to enable the smtp server
So it appears I need another auth method but have no idea how to create one - any advice would be appreciated
[removed]
Last edited by pe7er on Fri Jan 17, 2025 7:01 am, edited 1 time in total.
Reason: The link to the JED extension was removed as self-promotion is not permitted.
Reason: The link to the JED extension was removed as self-promotion is not permitted.
PHP Developer with 15+ Years in Web Development
Creator of Web357.com with 8.5k+ Happy Joomla! Users
Passionate About PHP, JavaScript, React, and Joomla!
Find my Joomla! Extensions at https://www.web357.com
Creator of Web357.com with 8.5k+ Happy Joomla! Users
Passionate About PHP, JavaScript, React, and Joomla!
Find my Joomla! Extensions at https://www.web357.com
-
- Joomla! Apprentice
- Posts: 33
- Joined: Fri May 26, 2017 1:12 am
Re: Gmail SMTP server mail Error in Mail API: Requested auth method not available
Thanks Toivo for the feedback I have tried those alternative settings for correct functioning of SMTP but authentication failed. Im away from my PC until Monday and can't reply to your question until then unfortunately as I changed the asp login details for the admin but it hasn't synced to my phone. Will respond in a couple of days. Thanks for your help
-
- Joomla! Apprentice
- Posts: 33
- Joined: Fri May 26, 2017 1:12 am
Re: Gmail SMTP server mail Error in Mail API: Requested auth method not available
Toivo the last line in the error log for the test email send for smtp server response was this
2025-01-16T03:52:47+00:00 ERROR 172.69.165.68 mail Error in Mail API: Connection: closed
2025-01-16T03:52:47+00:00 ERROR 172.69.165.68 mail Error in Mail API: SMTP Error: Could not authenticate.
Ive actually today installed the plugin https://extensions.joomla.org/extension ... p-connect/ referred to in other posts - and can thorougly recommend it - will respond further about this in a later post
2025-01-16T03:52:47+00:00 ERROR 172.69.165.68 mail Error in Mail API: Connection: closed
2025-01-16T03:52:47+00:00 ERROR 172.69.165.68 mail Error in Mail API: SMTP Error: Could not authenticate.
Ive actually today installed the plugin https://extensions.joomla.org/extension ... p-connect/ referred to in other posts - and can thorougly recommend it - will respond further about this in a later post
Last edited by AMurray on Tue Jan 21, 2025 9:32 pm, edited 1 time in total.
Reason: mod note: replaced direct URL with the Plugin's JED listing link.
Reason: mod note: replaced direct URL with the Plugin's JED listing link.
Advertisement