[rt-users] How to call code in RT_SiteConfig.pm?

Gene LeDuc gleduc at mail.sdsu.edu
Mon Sep 21 17:10:34 EDT 2009


Hi All,

I've put a small subroutine called EmailInMyDomain() into my 
RT_SiteConfig.pm file.  How do I call it from a scrip?  I get an error 
when I try calling it like:
    if ( EmailInMyDomain($email) ) { }
("Undefined subroutine &RT::Action::UserDefined::EmailInMyDomain ...")

Appreciate any help you can give me on this.

Regards,
Gene



More information about the rt-users mailing list