Skip to content

Conversation

@ArronKing
Copy link
Contributor

Adds the ability to use multiple to addresses.

At present:

routeNotificationForMail(Notification $notification)
{
  return [
    'john@example.com' => 'John Doe',
    'jane@example.com' => 'Jane Doe',
  ];
}

Only sends an email to john@example.com

The PR changes this and would send to both john@example.com and jane@example.com. It is backwards compatible with single recipients.

Copy link
Contributor

@aozisik aozisik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me @ArronKing. Thanks!

@aozisik aozisik merged commit 914c25d into swiftmade:main May 23, 2024
@ArronKing
Copy link
Contributor Author

That's perfect, thanks very much @aozisik

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.

2 participants