[rt-users] CanonicalizeEmailAddressMatch
ktm at rice.edu
ktm at rice.edu
Fri Mar 29 13:36:51 EDT 2013
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
More information about the rt-users
mailing list