PHP script for removing/forwarding suspected spam from pop3 mailbox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux