From d07177e506f6b2ae9becd07c16f92b91f4b7e042 Mon Sep 17 00:00:00 2001 From: Martin Folkerts Date: Thu, 20 Dec 2018 20:36:33 +0100 Subject: [PATCH] Update Fbl.php Another proposal to not hit the $report['body'] = $spamMessage->getMessageBody(); line, --- src/Fbl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fbl.php b/src/Fbl.php index 4d7f594..fa1048c 100644 --- a/src/Fbl.php +++ b/src/Fbl.php @@ -74,7 +74,7 @@ public function parse() $spamMessage->setText($this->arfMail['evidence']); $report['headers'] = $spamMessage->getHeaders(); } else { - $this->failed( + return $this->failed( 'The e-mail received at the parser is not RFC822 compliant, and therefor not a FBL message' ); }