[imp] imp_expand_fromaddress and identities
Joshua E Warchol
jwarchol at dsl.net
Thu May 1 13:27:34 PDT 2003
Thank you Jan. I though of using $imp['fromaddresses'] based on the
comment in the conf.php file. Thank you for correcting me. I'll give this
a try.
On Thu, May 01, 2003 at 05:34:45PM +0200, Jan Schneider wrote:
> 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
>
> --
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
--
Joshua Warchol
UNIX Systems Administrator
DSL.net
More information about the imp
mailing list