We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e65ae8 commit 84113a7Copy full SHA for 84113a7
Imap.php
@@ -440,10 +440,10 @@ public function cleanReplyEmail($message) {
440
$message = preg_replace("/^____________.*$/mi", '', $message);
441
442
// Remove blocks of text with 'From, Sent, To, Subject' on newlines.
443
- $text = preg_replace("/From:.*^(Sent:).*^(To:).*^(Subject:).*/sm", '', $text);
+ $message = preg_replace("/From:.*^(Sent:).*^(To:).*^(Subject:).*/sm", '', $message);
444
445
// Remove blocks of text with 'From, To, Sent, Subject' on newlines.
446
- $text = preg_replace("/From:.*^(To:).*^(Sent:).*^(Subject:).*/sm", '', $text);
+ $message = preg_replace("/From:.*^(To:).*^(Sent:).*^(Subject:).*/sm", '', $message);
447
448
return $message;
449
}
0 commit comments