Deprecated: Creation of dynamic property Message::$header is deprecated
Alex <[email protected]> Sat, 19 Aug 2023 21:50:03 -0400
| Newsgroups | gmane.mail.squirrelmail.user |
|---|---|
| Message-ID | <CAB1R3sgh2=MfsPLVWNMXLLYAELiTpLachtVtspiZTwwpA2AmSQ@mail.gmail.com> |
Hi,
Any idea if this error/warning is fixed in the latest version?
*Deprecated*: Creation of dynamic property Message::$header is deprecated
in */usr/share/squirrelmail/class/mime/Message.class.php* on line *366*
I believe I'm using a version from Feb, 2023. This happens when opening or
reading a message. I'm using php-8.2.9.
360 if (!isset($msg)) {
361 $msg = new Message();
362 $hdr = new MessageHeader();
363 $hdr->type0 = 'text';
364 $hdr->type1 = 'plain';
365 $hdr->encoding = '7bit';
366 $msg->header = $hdr;
367 } else {
368 $msg->header->type0 = 'multipart';
369 $msg->type0 = 'multipart';
370 while ($read[$i] == '(') {
371
$msg->addEntity($msg->parseBodyStructure($read, $i, $msg));
372 }
373 }
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: [email protected]
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users