Hi, I have a perl acript that parse an email and build it again under my definitions, that is working fine. to get to the definition i want, i added several if "mail subject" = 1 so the mail will be build as i want, how can i add : if "mail to" is in /tmp/foo.txt then build format 1 ? THNX Oren