Skip to content

Commit

Permalink
set reportEmail not mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
AUDUL committed Nov 17, 2023
1 parent 7e47132 commit 684a6d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bundle/Core/Mailer/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ public function sendMailing(MailingEntity $mailing, string $forceRecipient = nul
$fakeUser->setLastName('YYYY');
$contentMessage = $this->contentProvider->getContentMailing($mailing, $fakeUser, $broadcast);
$this->sendMessage($contentMessage);
++$recipientCounts;
$broadcast->setEmailSentCount($recipientCounts);

$this->broadcastProvider->store($broadcast);
$this->logger->notice("Mailing {$mailing->getName()} induced {$recipientCounts} emails sent.");
Expand Down

0 comments on commit 684a6d3

Please sign in to comment.