We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR #24606 unfortunately broke on-demand notifications addressed to multiple recipients.
Up until this PR the following worked just fine
Notification::route('mail', ['user1@example.com', 'user2@example.com']) ->notify(new InvoicePaid($invoice));
After this PR the notification is being sent only to the last recipient - user2@example.com.
user2@example.com
framework/src/Illuminate/Notifications/Channels/MailChannel.php
Line 181 in 9c684dc
is returning only the last item in the array because it's being overwritten here
Line 190 in 9c684dc
The text was updated successfully, but these errors were encountered:
Fix multiple notification recipients
e7e0e11
PR laravel#24606 unfortunately broke on-demand notifications addressed to multiple recipients. This fixes Issue laravel#24729 and laravel#24956
Fix multiple notification recipients (#24957)
7bc1103
* Fix multiple notification recipients PR #24606 unfortunately broke on-demand notifications addressed to multiple recipients. This fixes Issue #24729 and #24956 * Added test for multiple mail recipients. * Remove unnecessary spaces.
Closing as PR with fix was merged
Sorry, something went wrong.
No branches or pull requests
Description:
PR #24606 unfortunately broke on-demand notifications addressed to multiple recipients.
Up until this PR the following worked just fine
After this PR the notification is being sent only to the last recipient -
user2@example.com
.framework/src/Illuminate/Notifications/Channels/MailChannel.php
Line 181 in 9c684dc
is returning only the last item in the array because it's being overwritten here
framework/src/Illuminate/Notifications/Channels/MailChannel.php
Line 190 in 9c684dc
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: