laravel-sendgrid-driver
laravel-sendgrid-driver copied to clipboard
Multiple e-mails in `to` field
Hello,
How can I set multiple addresses in the to
field?
I've tried:
$config = [
'personalizations' => [
[
'to' => [
[
'email' => '[email protected]',
'name' => 'user1',
],
[
'email' => '[email protected]',
'name' => 'user2',
],
],
'substitutions' => [
'%company%' => 'Acme',
],
],
],
];
and
$config = [
'personalizations' => [
[
'to' => [
'[email protected]',
'[email protected]',
],
'substitutions' => [
'%company%' => 'Acme',
],
],
],
];
Is this not possible?
I think the same goes for cc
and bcc
fields.
Thanks, this is good issue. Now, it seems impossible to send in this way. I want to fix it but I'm on a vacation now. If you are harried, Please create the PR.
Thanks @s-ichikawa. I have no experience creating a PR. I'm gonna study it, but hope you can fix it sooner than I can.