-
-
Notifications
You must be signed in to change notification settings - Fork 220
Closed
Description
Version: 2.5.0
Bug Description
When using the new default option of netteMailer: true, multiple emails can't be set in config.neon:
tracy:
email:
- email1@example.com
- email2@example.com
This ends up throwing an error by itself:
Nette\Utils\AssertionException The header 'To' expects to be email, string given.
When trying to add the multiple emails:
.../tracy/tracy/src/Bridges/Nette/MailSender.php:47 source Nette\Mail\Message->addTo
$email "email1@example.com, email2@example.com"
Steps To Reproduce
Set Tracy email config as above and trigger an error in the application that will send an email.
Expected Behavior
Email message containing the errror is successfully created.
Note
Maybe I'm not setting the emails correctly? I tried also this, but that also didn't work:
tracy:
email: 'email1@example.com, email2@example.com'
Or did it previously (i.e. with netteMailer: false) work just "by accident"?
Metadata
Metadata
Assignees
Labels
No labels