I know this is an old project, but it is still used in an active ERP system.
Would it be possible to fix the deprecated warnings that show up on PHP 8.2?
Deprecated: Creation of dynamic property fileEmbeddedImage::$cid is deprecated in /htmlMimeMail5/htmlMimeMail5.php on line 457
Warning: define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported in /htmlMimeMail5/htmlMimeMail5.php on line 186
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /htmlMimeMail5/htmlMimeMail5.php on line 713
I was able to fix a fatal error in one of the functions. Fixed function:
I know this is an old project, but it is still used in an active ERP system.
Would it be possible to fix the deprecated warnings that show up on PHP 8.2?
Deprecated: Creation of dynamic property fileEmbeddedImage::$cid is deprecated in /htmlMimeMail5/htmlMimeMail5.php on line 457
Warning: define(): Argument #3 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported in /htmlMimeMail5/htmlMimeMail5.php on line 186
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /htmlMimeMail5/htmlMimeMail5.php on line 713
I was able to fix a fatal error in one of the functions. Fixed function:
` private function quotedPrintableEncode($input , $line_max = 76) { $lines = preg_split("/\r?\n/", $input); $eol = MAIL_MIMEPART_CRLF; $escape = '='; $output = '';
} `
Thank you!