Skip to content

Mail subject does not work when using queue:work #41240

Closed
@edsonfeimberg

Description

@edsonfeimberg
  • Laravel Version: 8
  • PHP Version: 8
  • Database Driver & Version: mysql

Description:

I just experienced a problem where for no reason the subject of my emails was not being sent. Googling i found this resource:

https://stackoverflow.com/questions/61836901/laravel-mailable-subject-not-working-if-i-queue-the-mailable

Where it was stated that the problem could be solved by using queue:listen instead of queue:work. Is there an specific reason for why mail subject shouldn't work when using queue:work especially since it is known to have better performance than queue:listen?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions