Commit 2ba0b65d authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Show more of email subject in email log


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 50f944c3
......@@ -424,7 +424,7 @@ function email_user($userto, $userfrom, $subject, $messagetext, $messagehtml='',
if (strpos($script, $docroot) === 0) {
$script = substr($script, strlen($docroot));
}
$line = "$to <- $mail->From - " . str_shorten_text($mail->Subject, 50);
$line = "$to <- $mail->From - " . str_shorten_text($mail->Subject, 200);
@error_log('[' . date("Y-m-d h:i:s") . "] [$client] [$script] $line\n", 3, $logfile);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment