Closed EvilKarter closed 3 years ago
I doubt that this works... it will be serializable but it definitely won't call the callback properly.
Instead if you want to serialize a message you should probably unset its public $mailer
property and reattach it when it is unserialized..
ok I will try your suggestion. thx for the very fast reply. I will close this PR
The Closure in the callback entry of $mailerConfig prevents serialization of Yii::$app->mailer->compose()...