commit
665f1d1d55
|
@ -84,6 +84,7 @@ class Body
|
|||
$part = $structure->parts[1];
|
||||
$this->message = imap_fetchbody($this->connection->getStream(),$this->message_number , $option);
|
||||
|
||||
|
||||
$this->encoding = $part->encoding;
|
||||
|
||||
if($part->encoding == 3) {
|
||||
|
@ -94,6 +95,9 @@ class Body
|
|||
$this->message = imap_qprint($this->message);
|
||||
}
|
||||
}
|
||||
else {
|
||||
$this->message = imap_body($this->connection->getStream(),$this->message_number , $option);
|
||||
}
|
||||
|
||||
return $this->message;
|
||||
}
|
||||
|
@ -107,4 +111,4 @@ class Body
|
|||
{
|
||||
return $this->encoding;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue