The swiftmailer package is abadoned and it is suggested to be replaced with symfony/mailer which can be done with yii2-symfonymailer.
In this extension you can get extra data from the mail if you use the swiftmailer but not if you use the suggested package yii2-symfonymailer.
This Merge Request will add the support to get the extra data from the symfonymailer message. It should not breaking anything if the symfonymailer is not installed and used.
It would be nice to unit test this but it isn't possible with this setup. If you have any idea how I can test it please let me know.
The swiftmailer package is abadoned and it is suggested to be replaced with symfony/mailer which can be done with yii2-symfonymailer.
In this extension you can get extra data from the mail if you use the swiftmailer but not if you use the suggested package yii2-symfonymailer.
This Merge Request will add the support to get the extra data from the symfonymailer message. It should not breaking anything if the symfonymailer is not installed and used.
It would be nice to unit test this but it isn't possible with this setup. If you have any idea how I can test it please let me know.