Skip to content

[9.x] Fix mails with tags and metadata are not queuable - #41028

Merged
taylorotwell merged 5 commits into
laravel:9.xfrom
joostdebruijn:fix-header-tags-closure-error-when-queuing
Feb 15, 2022
Merged

taylorotwell merged 5 commits into
laravel:9.xfrom
joostdebruijn:fix-header-tags-closure-error-when-queuing

Conversation

@joostdebruijn

Copy link
Copy Markdown
Contributor

In PR #40783 functionality is added to mails to add tags en metadata to supported mail drivers. However, this is not working when queuing mails, because Serialization of 'Closure' is not allowed. This PR fixes that problem and is adding some unit tests for this functionality.

Comment thread src/Illuminate/Mail/Mailable.php Resolved
@taylorotwell
taylorotwell merged commit 8ac224f into laravel:9.x Feb 15, 2022
salmanarshad321 pushed a commit to salmanarshad321/framework that referenced this pull request Sep 23, 2026
* fix: mails with tags and metadata could not be queued

* test: add test cases for tags en metadata for mail

* fix: mail could have multiple tags

* style: fix issues from style linter

* formatting

Co-authored-by: Taylor Otwell <taylor@laravel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants