Revert 693e88 since unsuccessfully sent mail shouldnt be marked as sent

This commit is contained in:
2024-10-09 14:11:11 +11:00
parent caac9c21a8
commit c76995fa00
2 changed files with 4 additions and 3 deletions

View File

@@ -125,6 +125,9 @@ class Send extends Base
if ($successful) {
$end = time()-$this->start;
Log::info(sprintf('%s:- Closing [%s], sent in [%d] with [%s] items',self::LOGKEY,$this->sending->nameas,$end,$this->sending->dbids->count()));
} else {
Log::alert(sprintf('%s:- Closing [%s], file NOT SENT successfully',self::LOGKEY,$this->sending->nameas));
}
$this->sending->close($successful,$node);