No Code Attached Yet
avatar muhme
muhme
21 Aug 2025

Steps to reproduce the issue

Simpler Install site with 5.4.0-beta1 and send test email.

Original procedure:

  • Install site with 5.4.0-beta1 with disabled Automated Updates
  • Install 'Alpha Update Server' plugin from 45540
  • Enable 'Log Almost Everything' and 'Debug System'
  • Enable Automated Updates
  • After Automated Update check log file administrator/logs/everything.php

Expected result

The log messages correspond to the system behaviour.
I do not know the internals. Perhaps there are multiple attempts to send the email on different ways?
The log entries should also show that the e-mail was sent successfully. If this is not possible, then at least the attempt. The entries currently read as if it was not possible to send the e-mail

Actual result

The Log messages show only email errors, but the email was sent successfully.

2025-08-21T16:22:33+00:00       INFO 52.14.131.139      update  Update to version 5.4.113 is complete.
2025-08-21T16:22:33+00:00       ERROR 52.14.131.139     mail    Error in Mail API: Sending with mail()
2025-08-21T16:22:33+00:00       ERROR 52.14.131.139     mail    Error in Mail API: Sendmail path: /usr/sbin/sendmail -t -i
2025-08-21T16:22:33+00:00       ERROR 52.14.131.139     mail    Error in Mail API: Envelope sender:
2025-08-21T16:22:33+00:00       ERROR 52.14.131.139     mail    Error in Mail API: To: "joomla-test@xxx.de" <joomla-test@xxx.de>
2025-08-21T16:22:33+00:00       ERROR 52.14.131.139     mail    Error in Mail API: Subject: =?utf-8?Q?Joomla!_updated_successfully_at_joomla-test.heikol?=^M
 =?utf-8?Q?.de_=E2=80=93_https://joomla-test.heikol.de/?=
2025-08-21T16:22:33+00:00       ERROR 52.14.131.139     mail    Error in Mail API: Headers: Date: Thu, 21 Aug 2025 16:22:33 +0000^M
From: "joomla-test.heikol.de" <joomla-test@xxx.de>^M
Message-ID: <DEwZxDD4cnip4jhKYfory2S5P489XvNbIHz0Sjg@joomla-test.heikol.de>^M
MIME-Version: 1.0^M
Content-Type: text/plain; charset=utf-8^M
^M

2025-08-21T16:22:33+00:00       ERROR 52.14.131.139     mail    Error in Mail API: Result: true

The log entries only show errors, even though the e-mail was sent successfully.

System information (as much as possible)

Seen two times today for site joomla-test.heikol.de

Additional comments

This issue may have the lowest priority.

avatar muhme muhme - open - 21 Aug 2025
avatar joomla-cms-bot joomla-cms-bot - change - 21 Aug 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Aug 2025
avatar richard67
richard67 - comment - 21 Aug 2025

To me this seems to be a general mail issue and not only for automated updates.

avatar SniperSister
SniperSister - comment - 21 Aug 2025

Indeed

avatar muhme
muhme - comment - 21 Aug 2025

I can confirm that sending test email has the same behaviour with logging as ERROR.

avatar muhme muhme - change - 21 Aug 2025
Title
[5.4] Automated Updates ERROR log entries for success email
[5.4] Email log entries are ERRORs even though the email was send successfully
avatar muhme muhme - edited - 21 Aug 2025
avatar muhme muhme - change - 21 Aug 2025
The description was changed
avatar muhme muhme - edited - 21 Aug 2025
avatar muhme muhme - change - 22 Aug 2025
Status New Closed
Closed_Date 0000-00-00 00:00:00 2025-08-22 04:10:16
Closed_By muhme
avatar muhme muhme - close - 22 Aug 2025
avatar muhme
muhme - comment - 22 Aug 2025

Closed in favour of #45963

Add a Comment

Login with GitHub to post a comment