Issue #2207021 by Berdir: Remove legacy PHP 5.3 code from PhpMail plugin.