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:
<cf-name>|<Headername>|<MatchString>|<Postcmd>|<Options>
where:
$value
You can change the separator string (initially "\|") during the template with:
Separator=<anyregexp>
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 <pape@inf.fu-berlin.de>.
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 <sales@bestpractical.com>.
To install RT::Extension::ExtractCustomFieldValues, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RT::Extension::ExtractCustomFieldValues
CPAN shell
perl -MCPAN -e shell install RT::Extension::ExtractCustomFieldValues
For more information on module installation, please visit the detailed CPAN module installation guide.