Hi,
I have set in factories.yml:
delivery_strategy: spool
in action:
$replacements[$email]['{receiver}'] = $name;
$this->getMailer()->registerPlugin(new Swift_Plugins_DecoratorPlugin($replacements));
$this->getMailer()->sendNextImmediately()->send($message);
in this configuration Decorator Plugin not work
if I set in action:
$replacements[$email]['{receiver}'] = $name;
$this->getMailer()->registerPlugin(new Swift_Plugins_DecoratorPlugin($replacements));
$this->getMailer()->send($message);
Decorator Plugin works good, but I must change delivery_strategy to realtime