You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mail is not queued when using no 'to' on the Facade, setting a 'to' on the Facade doesn't make sense when the recipient is always dependent on the data sent to the Mailable class like in the example below.
Steps To Reproduce:
Mail::send(new OrderPicked(Order::find(10000)));
The text was updated successfully, but these errors were encountered:
I'm solving it now by putting a Notification in between, and for some e-mails that makes sense since they will probably get more channels than e-mail.
But from my point of view it would be good to fix the issue so you can only send an e-mail like described.
Description:
Mail is not queued when using no 'to' on the Facade, setting a 'to' on the Facade doesn't make sense when the recipient is always dependent on the data sent to the Mailable class like in the example below.
Steps To Reproduce:
Mail::send(new OrderPicked(Order::find(10000)));
The text was updated successfully, but these errors were encountered: