Multiple e-mails in `to` field
ajanini opened this issue · 3 comments
ajanini commented
Hello,
How can I set multiple addresses in the to
field?
I've tried:
$config = [
'personalizations' => [
[
'to' => [
[
'email' => 'user1@example.com',
'name' => 'user1',
],
[
'email' => 'user2@example.com',
'name' => 'user2',
],
],
'substitutions' => [
'%company%' => 'Acme',
],
],
],
];
and
$config = [
'personalizations' => [
[
'to' => [
'user1@example.com',
'user2@example.com',
],
'substitutions' => [
'%company%' => 'Acme',
],
],
],
];
Is this not possible?
ajanini commented
I think the same goes for cc
and bcc
fields.
s-ichikawa commented
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.
ajanini commented
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.