[imp] Addl Header In Message View

Michael M Slusarz slusarz at bigworm.colorado.edu
Sun Jul 20 11:14:29 PDT 2003


Quoting Brandon Knitter <knitterb at blandsite.org>:

| I want to show some additional headers to messages I view, much like
| Date,
| Subject, To, From, etc. are shown, I wanted to add in some custom ones.
| I
| checked in the config section of the admin faq, and found nothing, if I
| missed
| it, please tell me to RTFM (a reference of where in TFM to R would be
| greatly
| appreciated).
|
| My specific example is that I want to see the spam headers added to my
| messages
| by SpamAssassin.  There may be others, but that's all I want right now!
| :)
|
| I looked through the code, found the .inc and .php where I could easily
| add
| this, but then I ran into a problem.  All of the messages parsing (raw
| message)
| only parsed headers defined in the PHP base code.  I could find nothing
| which
| would take the raw message and parse out ALL of the headers.  Is there
| such an
| animal in the Horde or Imp base framework code which I'm missing?  I
| poked
| around, but didn't see anything.

Are you using HEAD?  If so, then check IMP_Headers:: (imp/lib/Headers.php). 
If using IMP 3.x you are out of luck - there is no support there.

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the imp mailing list