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
SetSettings is declared to receive an array of EmailSettings.
Passing an array or object does not work
const params = new EmailParams() .setFrom(new Sender('no-reply@youremail', 'YourEmail')) .setTo([new Recipient(to)]) .setSubject(subject) .setHtml(html) .setSettings([{ track_clicks: false, track_opens: false, track_content: false }]); await this.mailer.email.send(params);
Error
{ "message": "The settings.0 field must be true or false.", "errors": { "settings.0": [ "The settings.0 field must be true or false." ] }
Settings should be an object, let's change the settings params to an Object
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SetSettings is declared to receive an array of EmailSettings.
Passing an array or object does not work
Error
Settings should be an object, let's change the settings params to an Object
The text was updated successfully, but these errors were encountered: