Closed QuentinCurtet closed 4 years ago
We only remove the mailer component from serialization and we add an attachment to the mail.
I don't understand what you mean here
When we tried to send the mail in debug mode, the mail was sent, but we had a critical error about closure in DataCollector (serialization problem i think). So we add a __sleep function to not take account of mailer instance in the serialization.
Impossible to access an attribute ("all") on a null variable. in vendor/symfony/swiftmailer-bundle/Resources/views/Collector/swiftmailer.html.twig (line 200)
We only remove the mailer component from serialization and we add an attachment to the mail.
Any idea ?