Skip to content

Commit 2505e1c

Browse files
committed
ACP2E-2734: Emails are failing to send
1 parent 1475eb2 commit 2505e1c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/code/Magento/Sales/Model/EmailSenderHandler.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,11 @@ public function sendEmails()
136136
$item->setEmailSent(true),
137137
'email_sent'
138138
);
139+
} else {
140+
$this->entityResource->saveAttribute(
141+
$item->setEmailSent(false),
142+
'email_sent'
143+
);
139144
}
140145
}
141146
}

0 commit comments

Comments
 (0)