No Code Attached Yet Information Required
avatar iandingwall
iandingwall
26 Feb 2024

Steps to reproduce the issue

In Global Configuration - System you set up the SMTP email as the email type along with the server name, port, TLS email address, username & password. You then Press the test email button at the bottom of the form.

I found that you it looked better to set the SMTP email settings then <Save& Close> and then come back into the Global Configuration server settings and then press the test button to have an expected result.

Once SMTP is fully setup with a Expected results test, if you go into the Contacts form and attempt to send an email to one of the contracts, it again comes up with either of the Expected or Actual result error.

Expected result

You get a green bar along the top of the screen stating:
"The email was sent to {email address}using SMTP. You should check that you've received the test email."

Is you send an email with the Contacts option it should give "Thank you for your email."

Actual result

get an intermittent error message with SMTP 221 error of the form
"The following From address failed: {as set in server global config} : MAIL FROM command failed,{domain} Service closing transmission channel ,221,SMTP server error: MAIL FROM command failed Detail: {domain} Service closing transmission channel SMTP code: 221"

System information (as much as possible)

Joomla v4.4.3
PHP 8.2
My SQL 5.7 (yes its just out of support) but hosting does not yet support anything newer :(
Swapped from PHPmailer to SMTP so the emails are Authorised to match DMARC processing.
It looks like the services is just stuffing text into the buffer and the FROM: smtp address is read incorrectly. I have not checked the code as I am no fluent in PHP.

Additional comments

This looks to be intermittent in both the global configuration server setup test SMTP and also on the function in the main web site. The same error is happening 50% is of the time....

avatar iandingwall iandingwall - open - 26 Feb 2024
avatar iandingwall iandingwall - change - 26 Feb 2024
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 26 Feb 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Feb 2024
avatar iandingwall
iandingwall - comment - 26 Feb 2024

This is the example error message I received


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

avatar richard67
richard67 - comment - 27 Feb 2024

The steps to reproduce the issue seem to be incomplete, they just say „In the“.

avatar iandingwall iandingwall - change - 27 Feb 2024
The description was changed
avatar iandingwall iandingwall - edited - 27 Feb 2024
avatar iandingwall
iandingwall - comment - 27 Feb 2024

I have updated the original text of the issue, sorry I did not notice the form chopped out the text... Happy to answer with any more specific information.

avatar Quy
Quy - comment - 27 Feb 2024

Is the FROM value coming from the form?

avatar iandingwall
iandingwall - comment - 27 Feb 2024

The from address comes from the system - global configuration - server tab - {from name} <{From email}> fields

avatar Quy
Quy - comment - 27 Feb 2024

Have you contacted your hosting/SMTP provider for assistance?

avatar Quy Quy - change - 28 Feb 2024
Labels Added: Information Required
avatar Quy Quy - labeled - 28 Feb 2024
avatar iandingwall
iandingwall - comment - 28 Feb 2024

No, is there away to activate debug inside Joomla while using SMTP outbound email or could you point me to the code module and I will have a look at what is going on, stripping into a test harness. I have swapped to the SMTP support inside joomla as I now need "Authenticated" emails to better support DMARC processing of outbound emails.

avatar Quy
Quy - comment - 28 Feb 2024

Is this a recent issue? Which Joomla version did it started? We would have received many more reports if it was an issue with Joomla. I have 5 sites using SMTP2Go service without issues. There is a free plan that you may want to try to determine if is an issue with your SMTP provider.

avatar Quy
Quy - comment - 28 Feb 2024

Since this is most likely an issue with your setup, please use the Joomla forum for support.

avatar iandingwall
iandingwall - comment - 28 Feb 2024

ok close this ticket. I am just running debug to look at the SMTP response messages for both failed and ok messages. its about 50/50 if it works or not..

thank you for the help :)

avatar iandingwall
iandingwall - comment - 28 Feb 2024

please close. I will open a new ticket if I see an actual explicit fault...

avatar Quy Quy - change - 28 Feb 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-02-28 21:25:35
Closed_By Quy
avatar Quy Quy - close - 28 Feb 2024

Add a Comment

Login with GitHub to post a comment