no message
This commit is contained in:
parent
a4c4593136
commit
40a219578f
@ -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();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user