Open emadalam opened 2 years ago
This issue has been automatically marked as "stale:discard". We are sorry that we haven't been able to prioritize it yet. If this issue still relevant, please leave any comment if you have any new additional information that helps to solve this issue. We encourage you to create a pull request, if you can. We are happy to help you with that.
As per the SendGrid usage, the send api allows us to skip the
to
,cc
,bcc
at the root level as long as thepersonalizations
key with valid fields are provided. However the Mailer seem to be validating this at root level regardless of the adapter in use, and throws aNilRecipientsError
.Is there any workaround or quick fix for this? How can we send an email (common
from
,template_id
etc) to multiple recipients viapersonalizations
key, without setting the root levelto
,cc
orbcc
? The currentpersonalizations
implementation doesn't seem to fulfil the use case. Am I missing something?