Merge pull request #3024 from friedPotat0/rspamdquarantinedetails

Add rspamd score and symbols to quarantine detail view
This commit is contained in:
André Peters
2019-10-09 22:24:47 +02:00
committed by GitHub
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