OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[Novice] - Header_checks

From: Cedric BUSCHINI (cbuschinicarax.com)
Date: Wed Oct 31 2007 - 03:53:04 CDT


Hello,

I'd like to perform a test (if ... endif) on headers.
My aim is to check if the 'subject' feild contains a specific words and
if the mail is not sent to a specific address.

I've tried :

if /^Subject: Specific Words/
/^!To: specific.userexemple.com/
        REDIRECT new.addressexemple.com
endif

can some one help ?

Ced.