Hi.

I'd like to find or write a script that I can run every so often (hourly for example) from cron that will check my pop3 mailboxes for any emails with ****SPAM**** in the subject line and either delete them or forward them to another email address. The best way would be to bundle all the emails together and forward these as attachments to another email address that I would use as spam.

I have found the documentation on using php for pop3 a little confusing as it seems to be geared towards imap. I know it can be used for pop3 it's just the documentation on this seems to be a little scarce. Can anyone help me find an already written script or give me some ideas on how I can write my own.

Many thanks,

IG

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to