Extract content of the Sub-parts from the email

Since JEMH 2.7.56

Scenario

If you would like to extract the particular part from the email as per example:

The following line of code is required in the Script Field Processor:

resultMap.put("comment",jemhUtils.getMessagePartText("message/delivery-status"));

Also, in JEMH > Profile > Message Filter the Non-delivery filter needs to be Disabled

 

Result:

The extracted part of the email has been added in the description and attached to the issue as the attachment: