/
JEMH Mail Field Processors

JEMH Mail Field Processors

Introduction

Field Processors do nothing more than extract necessary information from an email by any means, in order to populate a Map of specified Keys used to create an Issue. The abstraction hopefully minimises the effort required to support different flavours of email source, without requiring multiple mailboxes or handlers configured. The aim is Low Management Overhead!

JEMH Field Processors that require directives to be supplied in the email body, (such as the Mailform, and @Prefix Field Processor) also require that the directives be supplied at the top of the email body before any other email content. Any directives separated by a new line will not be extracted by the Field Processor, e.g:

Input

Output

Input

Output

MIME-Version: 1.0 Received: by 10.223.112.12 with HTTP; Sat, 18 Jun 2011 22:42:26 -0700 (PDT) Date: Sun, 19 Jun 2011 17:42:26 +1200 Subject: Subject of the email goes here From: test@example.com To: changeme@thiswontwork.com Content-Type: text/plain; charset=UTF-8 priority: 5 assignee: username This is the description/comment body of the email. It will not be considered as a directive!

Priority = 5

 

MIME-Version: 1.0 Received: by 10.223.112.12 with HTTP; Sat, 18 Jun 2011 22:42:26 -0700 (PDT) Date: Sun, 19 Jun 2011 17:42:26 +1200 Subject: Subject of the email goes here From: test@example.com To: changeme@thiswontwork.com Content-Type: text/plain; charset=UTF-8 assignee: username priority: 5 This is the description/comment body of the email. It will not be considered as a directive!

Assignee = "username"

Priority = 5

 

MIME-Version: 1.0 Received: by 10.223.112.12 with HTTP; Sat, 18 Jun 2011 22:42:26 -0700 (PDT) Date: Sun, 19 Jun 2011 17:42:26 +1200 Subject: Subject of the email goes here From: test@example.com To: changeme@thiswontwork.com Content-Type: text/plain; charset=UTF-8 assignee: username This is the description/comment body of the email. It will not be considered as a directive! priority: 5

Assignee = "username"

Enabling a Field Processor

To enable a Field Processor need to toggle the relevant field Processor from a grey toggle to a Green toggle.