Issue Bug Closed

#110174Failure to sent mail is not always logged when using 'transport_spool_type' => 'memory',

Stephan Großberndt 07/08/26, 13:26 updated 08/11/26, 08:51

Description

When 'transport_spool_type' => 'memory', is set (see https://docs.typo3.org/permalink/t3coreapi:confval-globals-typo3-conf-vars-mail-transport-spool-type) and sending mail fails for a different reason than an exception of type TransportExceptionInterface this is not logged.

This is the case for #110173, where PHP error occurs and no log entry is written.

This happens because MemorySpool::flushQueue() is triggered in MemorySpool::__destruct(), where the usual exception handling no longer works.

Reviews 4

History 58

  1. Stephan Großberndt changed subject Failure to sent mail is not always logged when using @'transport_spool_type' => 'memory',@ Failure to sent mail is not always logged when using 'transport_spool_type' => 'memory', <span data-processor="relativetime" data-value="2026-07-08T13:26:27+00:00" > 07/08/26, 13:26 </span>

  2. Stephan Großberndt commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-07-21T15:30:09+00:00" > 07/21/26, 15:30 </span>

    Applied in changeset commit:5ad4288a7989e95e47be85013a0bf92bfd924034.