Basically, you use it to replace an email address that you set a pattern
match for in RT_SiteConfig with another address, also set in
RT_SiteConfig  

For example, in RT_SiteConfig you set...
Set($CanonicalizeEmailAddressMatch, '@foo\.com$');
Set($CanonicalizeEmailAddressReplace, '@foo.bar.com');

So, when someone sends in an email to RT from [EMAIL PROTECTED], it
replaces it with [EMAIL PROTECTED]  

We use this feature to make sure all of our local emails come in the
same way so we can recognize external emails easier.

Craig Patterson

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike
Peachey
Sent: Wednesday, February 06, 2008 8:28 AM
To: RT Users
Subject: [rt-users] CanonicalizeEmailAddress

I've been staring at CanonicalizeEmailAddress for hours now and every 
time I think I understand its purpose and how it's doing it, I am forced

to change my mind.

Can anyone make it plain & simple?
-- 
Kind Regards,

__________________________________________________

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__________________________________________________
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to