diff --git a/app/Services/Scheduler/EmailRecord.php b/app/Services/Scheduler/EmailRecord.php index 9c0b498bb3c3..d344b1c7c542 100644 --- a/app/Services/Scheduler/EmailRecord.php +++ b/app/Services/Scheduler/EmailRecord.php @@ -30,7 +30,7 @@ class EmailRecord $entity = $class::find($this->decodePrimaryKey($this->scheduler->parameters['entity_id'])); if($entity) { - $entity->service()->sendEmail(); + $entity->service()->markSent()->sendEmail(); } $this->scheduler->forceDelete();