[imp] imp_expand_fromaddress and identities
    Jan Schneider 
    jan at horde.org
       
    Thu May  1 18:34:45 PDT 2003
    
    
  
Zitat von Joshua E Warchol <jwarchol at dsl.net>:
> I'm using IMP 3.1 and have a quick question about the
> $conf['hooks']['from']
> hook. In conf.php the note says "If users are allowed to change their
> fromaddresses (not fullnames, though), and they have one set, this will
> be overridden." Does "this" mean the value the user stored in their
> identity, or the value I'm returning?
The value your hook is returning.
> I suspect that my imp_expand_fromaddress() is overriding the users
> identity. Does $imp['fromaddress'] contain their current from in the
> chossen or default identity?
No idea what $imp['fromaddress'] might contain, the correct way to get the
users from address is to call $identity->getFromAddress()
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
    
    
More information about the imp
mailing list