Page MenuHomePhorge

D25563.1734770687.diff
No OneTemporary

D25563.1734770687.diff

diff --git a/externals/mimemailparser/MimeMailParser.class.php b/externals/mimemailparser/MimeMailParser.class.php
--- a/externals/mimemailparser/MimeMailParser.class.php
+++ b/externals/mimemailparser/MimeMailParser.class.php
@@ -2,6 +2,7 @@
require_once('attachment.class.php');
+#[\AllowDynamicProperties]
/**
* Fast Mime Mail parser Class using PHP's MailParse Extension
* @author gabe@fijiwebdesign.com
@@ -31,6 +32,11 @@
*/
public $attachment_streams;
+ /**
+ * Parts of an email
+ */
+ private $parts = [];
+
/**
* Inialize some stuff
* @return
@@ -134,7 +140,6 @@
*/
private function parse() {
$structure = mailparse_msg_get_structure($this->resource);
- $this->parts = array();
foreach($structure as $part_id) {
$part = mailparse_msg_get_part($this->resource, $part_id);
$this->parts[$part_id] = mailparse_msg_get_part_data($part);

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 08:44 (18 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1024312
Default Alt Text
D25563.1734770687.diff (889 B)

Event Timeline