Project Mapping with Body Delimiters

Summary

Body Delimiters remove unwanted sections of the email. This feature uses Regular Expressions (Regexp) to search for patterns within the email and if a pattern is matched then it will remove the content from that phrase until the end of the email.

Settings Preview

To configure Body Delimiters you create a new Project Mapping and go to the Pre-Processing page and then adding a new Body Delimiter. You select if you want it for creation or commenting a issue and enter the expression you would like to search for. The example below is looking for “Sent from my” and this will look for a paragraph that starts with this expression and will remove everything after this sentence.

Example Profile

This profile has a Body Delimiter that checks for the phrase “Sent from my” and if this phrase is found it will remove all text from that point.

To import a profile go to Configure JEMH > Profiles > Import Profile > Choose File and select the profile that you wish to import.

Example Test Case

This Test Case will loose the text after line 15 as the Body Delimiter matches the phrase “Sent from my”.

MIME-Version: 1.0 Date: Mon, 11 Jul 2022 15:04:03 +0100 Message-ID: <CALnh4wT3TuKQL62W5jAsX9qatYMonj9zOVeZMJC9bOOxh1Zgug@mail.gmail.com> Subject: Body delimiters From: default@user.com To: mailbox@localhost Content-Type: multipart/alternative; boundary="0000000000004666da05e38806af" --0000000000004666da05e38806af Content-Type: text/plain; charset="UTF-8" This email will contain a body delimiter that will remove the line that is at the end of this email. Sent from my computer blah blah

Issue created by email