Skip to content
New issue

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

Not sending notification when multiple recipients specified in settings #2

Open
chadcrowell opened this issue Apr 17, 2020 · 0 comments

Comments

@chadcrowell
Copy link

With 1 email address in the settings, the notifications send. With more than 1, comma separated, the queue job fails. I have tried multiple combinations of email addresses and it keeps failing.

Adding

if(!is_array($recipient)) {
            $recipient = explode(',',$recipient);
        }

before $mail = new Message(); in the sendMail service fixed the issue.

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

No branches or pull requests

1 participant