[imp] Highlighting SPAM, follow up on ticket 5234

Michael M Slusarz slusarz at horde.org
Mon Feb 21 22:34:08 UTC 2011


Quoting Frederic Naud <admin at naud.org>:

> Thanks for the quick reply.  Can you tell me how to test the  
> X-Spam-Status?  In the hooks.php, there's an example for XPriority  
> (switch ($ob->header->getXpriority())) but I don't see how to modify  
> it to trap and format the Spam messages.

$value = $ob->header->getValue([HEADER NAME]);

[HEADER NAME] = 'X-Spam-Status'

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]




More information about the imp mailing list