[dev] [patch] custom hook for adding headers in imp

Michael M Slusarz slusarz at mail.curecanti.org
Tue Dec 6 10:28:28 PST 2005


Quoting Oliver Kuhl <okuhl at netcologne.de>:

> Hi,
>
> the functionality for adding custom headers to every email via
> headers.txt didn't fit my requirements. Thus I implemented another hook
> _imp_hook_header(), which is more flexible. I need this to add an
> authentication-header, which holds the encrypted username of the
> authenticated user.
>
> Patches are attached. Would be nice if this could make it into cvs. ;-)

I'm wondering if we should instead alter headers.txt to allow PHP  
expressions in there (i.e. doing a 'require' on a headers.php).  I  
would rather not have code to alter header generation in two different  
places.

michael

_______________________________________
Michael Slusarz [slusarz at curecanti.org]


More information about the dev mailing list