PHP to get mail headers
| From: | Scott St. John | Date: | Mon, 24 Nov 2003 01:35:46 +0000 |
| Subject: | PHP to get mail headers | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-170749@lists.php.net to get a copy of this message | ||
I run a small ISP and am looking at ways to automate grabbing the headers
from email. I currently copy all email to a BSD box, then use Pine in
header mode to get the IP addresses from which I build my spam filters.
A search did not yield much in what I am trying to do:
1)Open the mailbox and extract the Received, From and Subject headers.
2)Drop those into a database that I can manage from the browser.
Sounds simple enough and I am sure I am making it harder than it really
is, but if you know of a project please let me know.
Thanks!
-Scott