On Fri, Mar 29, 2013 at 07:10:53AM -1000, Camron W. Fox wrote:
> Alle,
> 
>       Is it possible to use multiple entries for
> CanonicalizeEmailAddressMatch? For example:
> 
> Set( $CanonicalizeEmailAddressMatch,
> '@example\.ac\.jp$|@example\.org$|@example\.com$');
> 
> Best Regards,
> Camron
> 
Hi Camron,

Yes, here is the usage in the RT code:

    if ( my $match   = RT->Config->Get('CanonicalizeEmailAddressMatch') and
         my $replace = RT->Config->Get('CanonicalizeEmailAddressReplace') )
    {
        $email =~ s/$match/$replace/gi;
    }
    return ($email);

Regards,
Ken

Reply via email to