Add score, symbols to quarantine detail view

This commit is contained in:
friedPotat0
2019-10-09 22:07:26 +02:00
parent 80a9c39956
commit cb17d71c61
7 changed files with 82 additions and 6 deletions

View File

@@ -54,6 +54,10 @@ if (!empty($_GET['id']) && ctype_alnum($_GET['id'])) {
$data['recipients'] = $recipientsList;
}
// Get rspamd score
$data['score'] = $mailc['score'];
// Get rspamd symbols
$data['symbols'] = json_decode($mailc['symbols']);
// Get text/plain content
$data['text_plain'] = $mail_parser->getMessageBody('text');
// Get html content and convert to text