no message

This commit is contained in:
hellcat 2026-06-16 19:30:11 +08:00
parent a4c4593136
commit 40a219578f

View File

@ -59,14 +59,13 @@ final class Smtp extends Base
if (!$mail->send()) {
$sError = $mail->ErrorInfo;
$oMailLog = new ModelMailLog();
$oMailLog->to = $to;
$oMailLog->title = $subject;
$oMailLog->date = date("Y-m-d");
$oMailLog->error = $sError;
$oMailLog->save();
}
$oMailLog = new ModelMailLog();
$oMailLog->to = $to;
$oMailLog->title = $subject;
$oMailLog->date = date("Y-m-d");
$oMailLog->error = $sError;
$oMailLog->save();
}
}