On the surface this sounds like a job for procmail (www.procmail.org). 

On Mon, 26 Feb 2001, Jason wrote:

> Date: Mon, 26 Feb 2001 11:58:53 -0800
> From: Jason <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [PHP] Walking Through Mail Headers
> 
> Hi,
> 
> I need a way to walk through mail headers and search for a specific string
> in the subject. If the message contains the string, it will be forwarded to
> a different account, otherwise it will trigger an autoresponse with a
> certain message to the sender. Does anyone have any infomation on doing
> this, or can point me where to start. I think the thing I'm caught up on is
> how I walk through the mail headers in the mail file (We are on FreeBSD).
> Thanks.
> 
> Jason
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 

Kelly

303-444-1671
Boulder, Colorado



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to