Was facing the same issue. Figured out the reason, though. Essentially, when you are using Mail::queue, the data passed to the view is serialized and stored. This is then retrieved by the queue worker.
This serialization destroys the object and converts it to an array.
As a workaround, I'm instead making sure that some of the extra properties are inserted into the array before it is passed to the queue.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community