?
avatar toivo
toivo
10 Jan 2021

Steps to reproduce the issue

Install Beta7-dev of 10 January.
Global Configuration - Server - Mail Settings
Set up SMTP using smtp.gmail.com, 587, STARTTLS, SMTP Authentication, a Gmail address and an application specific password, as instructed in the tutorial How do I use Gmail as my mail server?
Click 'Send Test Mail'.

Expected result

The test mail is sent successfully.

Actual result

Error message: SMTP Error! Could not authenticate.

System information (as much as possible)

Windows 10, Wampserver 3.2.4, Apache 2.4.46a, MySQL 8.0.22, PHP 7.4.13

Additional comments

This function used to work previously and the same settings work now in 3.9.24-rc2 in the same workstation.

avatar toivo toivo - open - 10 Jan 2021
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Jan 2021
avatar toivo
toivo - comment - 10 Jan 2021

Please note that there seems to be a separate issue with logging. Global Configuration - Logging - Log Almost Everything was selected, the plugin System - Debug was enabled and mail category selected but no log entries were recorded. The file administrator/logs/everything.php had not even been created.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31981.
avatar toivo
toivo - comment - 10 Jan 2021

The issue is limited to the Send Test Mail function. The SMTP mail settings work all right because an Account Details email was sent and seen in the Gmail Sent folder after a new user was created from the back end.

In spite of the initial issues in an out-of-the-box Beta7-dev site, the Debug function is now writing the details of the SMTP dialogue to the log file. Here is an extract from the log everything.php with the details of the failed authentication attempt after the button Sent Test Mail was pressed. The second file contains the SMTP authentication from the Account Details email. The email addresses were replaced.

Failure: j4-smtp-authentication-error.txt
Success: j4-smtp-authentication-ok.txt


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31981.

avatar HLeithner HLeithner - change - 10 Jan 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-01-10 20:04:38
Closed_By HLeithner
avatar HLeithner HLeithner - close - 10 Jan 2021
avatar HLeithner
HLeithner - comment - 10 Jan 2021

Closing we have a pull request #31999

avatar campones
campones - comment - 15 Apr 2021

hello

was this fixed? i migrated to a new server and took that opportunity to update my joomla cms from .21 to .25 and I can't send any test smtp email, despite it's working on the former server.

avatar sandramay0905
sandramay0905 - comment - 16 Apr 2021

was this fixed?

@campones Looking at the pull request #31999 for this issue you can see it was merged:

grafik

Add a Comment

Login with GitHub to post a comment