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?
to your account
When using the new default option of netteMailer: true, multiple emails can't be set in config.neon:
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 "email@example.com, firstname.lastname@example.org"
Set Tracy email config as above and trigger an error in the application that will send an email.
Email message containing the errror is successfully created.
Maybe I'm not setting the emails correctly? I tried also this, but that also didn't work:
email: 'email@example.com, firstname.lastname@example.org'
Or did it previously (i.e. with netteMailer: false) work just "by accident"?
The text was updated successfully, but these errors were encountered:
MailSender: $email can contain multiple addresses [Closes #308]
No branches or pull requests