You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the SendGrid usage, the send api allows us to skip the to, cc, bcc at the root level as long as the personalizations 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 a NilRecipientsError.
Is there any workaround or quick fix for this? How can we send an email (common from, template_id etc) to multiple recipients via personalizations key, without setting the root level to, cc or bcc? The current personalizations implementation doesn't seem to fulfil the use case. Am I missing something?
The text was updated successfully, but these errors were encountered:
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?The text was updated successfully, but these errors were encountered: