queue() method in Message.php seems incomplete
wirepaq opened this issue · comments
Hi,
I just encountered a problem where queue was saving just the subject in mailqueue table. Upon inspection and comparing to old version it seems queue() function lacks the code that set from/to, attachements etc. Is this case of committing wrong code?
Thanks
Hi @wirepaq,
Now the message is serialized as a whole and saved to the table in one field. Please try re-installing the extension.
I think I got the problem, the
https://github.com/nterms/yii2-mailqueue/blob/master/migrations/m170217_124201_drop_obsolete_columns_from_mail_queue_table
misses .php extensions. So obsolete columns were not deleted as expected.
Renamed the file and made a release. Didn't test though.