Page MenuHomePhorge

D25563.1734770688.diff
No OneTemporary

D25563.1734770688.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
@@ -31,6 +31,11 @@
*/
public $attachment_streams;
+ /**
+ * Parts of an email
+ */
+ private $parts = [];
+
/**
* Inialize some stuff
* @return
@@ -134,7 +139,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, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1024313
Default Alt Text
D25563.1734770688.diff (698 B)

Event Timeline