Closed (fixed)
Project:
Mailer Plus (DSM+)
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Aug 2025 at 12:02 UTC
Updated:
6 Dec 2025 at 17:34 UTC
Jump to comment: Most recent
Currently a mailer plugin is both a service and a plugin. The plugin part is only really used for collecting definitions. It is also currently used as a factory for creating the service, but it doesn't need to be like that.
SymfonyMailerServiceProvider instead of setting a factory, add a tag mailer_instanceMailerPluginBase to ComponentMailerBase and remove the extending of PluginBaseMailerManager to Discover the mailers by means of the tagStart within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
adamps commented