RT::Extension::ExtractCustomFieldValues - extract CF values from email headers or body
ExtractCustomFieldValues is based on a scrip action "ExtractCustomFieldValues", which can be used to scan incoming emails to set values of custom fields.
perl Makefile.PL make make install make initdb # first time only, not on upgrades
When using this extension with RT 3.8, you will need to add extension to the Plugins configuration:
Set( @Plugins, qw(... RT::Extension::ExtractCustomFieldValues) );
If you are upgrading this extension from 3.05 or earlier, you will need to read the UPGRADING file after running make install to add the new Scrip Action.
To use the ScripAction, create a Template and a Scrip in RT. Your new Scrip should use a ScripAction of 'Extract Custom Field Values'. The Template consists of the lines which control the scanner. All non-comment lines are of the following format:
$valueis either $1 or full match text from the match performed with <MatchString>
You can change the separator string (initially "\|") during the template with:
Changing the separator may be necessary, if you want to use a "|" in one of the patterns in the controlling lines.
An example template with some further examples is installed during "make install" or "make insert-template". See the CustomFieldScannerExample template for examples and further documentation.
This extension was originally written by Dirk Pape <firstname.lastname@example.org>.
This version is modified by Best Practical for customer use and maintained by Best Practical Solutions.
Support requests should be referred to Best Practical <email@example.com>.