Events like SentMessageEvent are not dispatched, because of missing dispatcher in TransportFactoryManager

Created on 28 October 2025, 13 days ago

Problem/Motivation

Events like SentMessageEvent are not dispatched, because of missing dispatcher in TransportFactoryManager

Steps to reproduce

* install symfony_mailer
* add EventSubscriber for "SentMessageEvent" in custom module
* send mail and track events with xdebug

Proposed resolution

Create Service "symfony_mailer.transport_factory_manager" (class: Drupal\symfony_mailer\TransportFactoryManager) with arguments '@event_dispatcher' and change __construct()-Function to give $dispatcher to Transport-Instances.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.6

Component

Code

Created by

🇩🇪Germany internetter Erfurt, Thüringen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024