A failed error-notification email ends the page with an empty response

Sheernox

New Member
Env: ClientExec 7.3.0 (ionCube), PHP 8.5.12, MariaDB 11.8.9. Re-tested on 2026-11-10.

Stable re-test (2026-11-10): Still open in 7.3.0. A synthetic domain client fetched its Overview with template=default: HTTP 200 and zero bytes with the original failing notification address, 29,385 bytes with it empty, then zero bytes after restoring it. The original setting was restored and re-read. No production action was taken.

Where: the level 1 log notification behind the Application Error Notification setting (CE_Lib::log, encoded), reached from the client domain Overview (fuse=clients&controller=products&view=product for a domain package)

Bug: When a level 1 error is logged and the notification email to the Application Error Notification address cannot be sent, the request stops: the client gets HTTP 200 with an empty body and no PHP error is logged. The domain Overview logs a level 1 error for each registrar call that fails, so a registrar outage plus a mail failure leaves the client a blank page instead of the page with the registrar data missing.

Repro:
  1. Set Application Error Notification to an address the mail server refuses, and leave the registrar plugin's credentials empty so its calls fail.
  2. Sign in as a client with a domain package and open its Overview: an empty 200 response, also with the default template.
  3. Empty Application Error Notification and reload: the page renders, with the registrar data missing.

Fix: Catch failures of the notification email itself, log them, and carry on with the request.
 
Back
Top