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
When using this extension with RT 3.8, you will need to add extension to the Plugins configuration:
Set( @Plugins, qw(... RT::Extension::ExtractCustomFieldValues) );
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 <email@example.com>.
This version is modified by Best Practical for customer use and maintained by Best Practical Solutions.
Report bugs using http://rt.cpan.org service, discuss on RT's mailing lists, see also </SUPPORT>
Support requests should be referred to Best Practical <firstname.lastname@example.org>.