Closed dneuhaeuser closed 1 year ago
Pear Mail libs was updated on Nov 24, 2021 on 1.2 branch that should run without errors on PHP 8; it's time for a maintenance release.
as I see this was solved with release 1.2.19. I think the readme still needs an update to also mention PHP 8.
As major distros are starting to discontinue PHP 7 (which is EOS next month anyway) I think MailWatch should be made compatible with PHP 8.
My first tests with MailWatch 1.2.18 and PHP 8.1.2 look quite good, but there is one major problem when trying to release quarantined mails. The following error is thrown in apache/error.log and the mail is NOT released:
The function "get_magic_quotes_runtime()" which does not exist in PHP 8 anymore is used several times in "lib/pear/Mail/mime.php" and "lib/pear/Mail/mimePart.php". The magic_quotes feature and its ini-setting was even removed in PHP 5.4, some 20 years ago.
So can we remove the according lines?