diff --git a/webui/model/search/message.php b/webui/model/search/message.php index 0178f8f6..670f2245 100644 --- a/webui/model/search/message.php +++ b/webui/model/search/message.php @@ -185,10 +185,10 @@ class ModelSearchMessage extends Model { $body = Piler_Mime_Decode::fixMimeBodyPart($parts[$i]['headers'], $parts[$i]['body']); if($parts[$i]['headers']['content-type']['type'] == 'text/html') { - $this->message['text/html'] = $purifier->purify($body); + $this->message['text/html'] .= $purifier->purify($body); } else { - $this->message['text/plain'] = $body; + $this->message['text/plain'] .= $body; } }