Skip to content

Commit dbf2c29

Browse files
Fix multiple copy to recipients
1 parent 71c781d commit dbf2c29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/Order/Email/SenderBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ public function sendCopyTo()
8585
$copyTo = $this->identityContainer->getEmailCopyTo();
8686

8787
if (!empty($copyTo)) {
88-
$this->configureEmailTemplate();
8988
foreach ($copyTo as $email) {
89+
$this->configureEmailTemplate();
9090
$this->transportBuilder->addTo($email);
9191
$transport = $this->transportBuilder->getTransport();
9292
$transport->sendMessage();

0 commit comments

Comments
 (0)