Pipe ALL incoming emails to PHP script
Posted: Thu Aug 31, 2006 12:02 am
I have been trying to make a basic mail client with PHP for quite some time, and I always seem to fail. I have tryed numerous things, but I have found nothing that works, but i'm not giving up.
I have private hosting from a good friend, comes right off a datacenter in Maryland. I of course do not have root access to my hosting, so that's a serious disadvantage. What I want to do is have ALL incoming mail piped to a php script where I can store it in a MySql database. I believe my current server is using SendMail.
I have tryed creating a .forward file to pipe it to a php script, but it never worked, not to mention it only allowed it to work for one email address, when I need it to any address that's directed to my domain.
So, do we have any experts in here that have ever created a system like this? I see them everywhere, I figured it should be possible with PHP.
I have private hosting from a good friend, comes right off a datacenter in Maryland. I of course do not have root access to my hosting, so that's a serious disadvantage. What I want to do is have ALL incoming mail piped to a php script where I can store it in a MySql database. I believe my current server is using SendMail.
I have tryed creating a .forward file to pipe it to a php script, but it never worked, not to mention it only allowed it to work for one email address, when I need it to any address that's directed to my domain.
So, do we have any experts in here that have ever created a system like this? I see them everywhere, I figured it should be possible with PHP.