Email can not view bounce detail

For the email can not be view problem, my research is:

HtmlSanitizer.php->clean() function can鈥檛 clear dirtyHtml, the regexp pattern may be wrong in some place, so the dirtyHtml became empty when return.

and that is why SuiteCRM can鈥檛 view bounced messages.

here is my solution:
thanks for the article from: Problem parsing Inboud emails when email is multipart/mixed, but has only text/plain and attachment parts, but not text/html 路 Issue #8505 路 salesagility/SuiteCRM 路 GitHub

edit InboundEmail.php->getMessageTextWithUid()

        # fix problem of suitecrm can't view bounced message from postfix system
        # orignal code
        #$emailMessage = $this->mailParser->parse($emailBody, false)->getHtmlContent();
        # replace with start
        $emailTextMessage = $this->mailParser->parse($emailBody, false)->getTextContent();
       	$emailHtmlMessage = $this->mailParser->parse($emailBody, false)->getHtmlContent();
        if(!empty($emailHtmlMessage)){
			$emailMessage = $emailHtmlMessage;
		}else{
			#$emailMessage = $emailTextMessage;
            $emailMessage = $emailBody;
		}
        # replace with end