[imp] adding default domain to addresses that don't expand?
Liam Hoekenga
liamr@umich.edu
Tue, 20 Aug 2002 15:57:28 -0400
> > how about having the option to add the default domain to addresses that
> > don't expand?
>
> Sounds fine as a preference; patch?
Ok, I've got this mostly working. The one problem I'm having is what seems to
by my perpetual problem - trying to accesses out of scope variables.
The code I've written is an addition tohorde/imp/expand.php, and I need access
to $imp['maildomain']. I can't access it there or with
$GLOBALS['imp']['maildomain'] (I get an "undefined index: imp" error in my php
logfile). I can, however, query $conf['msg']['add_maildomain_to_unexpandable']
(from horde/imp/config/conf.php - I'm completely open to a shorter preference
name, but I wanted something descriptive).
Do I need to do some sort of globals declaration, or include/require some file?
Liam