Open quentin-st opened 3 years ago
Hello @chteuchteu,
Thank you for taking the time to raise this issue!
I don't think for this use case that we should only create personalizations in the case of substitutions.
Looking at the tests, it seems we did not check for the case when no substitutions are present :(
This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.
With best regards,
Elmer
Issue Summary
The "Send Multiple Emails to Multiple Recipients" documentation section basically uses this to demonstrate sending an email to multiple recipients:
In our use case (no substitution, same body for everyone, meaning to send a separate email to each recipient individually), this lead to sending a single email with everyone in the "to" recipients list.
The right way to achieve this is to use create N
Personalization
s:Are mails separately sent only if there is at least one substitution? Shouldn't we update the documentation to add a warning if that's the case?
Waiting for feedback before opening a PR to update the documentation!
Steps to Reproduce
->addTo(new To($email))
)Technical details: