filtering email to a script

filtering email to a script

Posted by: webu
Posted on: 2006-07-16 07:42:00

e.g. all email to me@me.org is sent to decode.php

possible?

I need to grab certain email attachments(images) from incoming emails and save these attachments into a web-directory for later use.

I've looked at procmail but by itself it doesn't seem to decode mime attachments - so is procmail+metamail the solution.

Any tips appreciated.

tia

Re: filtering email to a script

Posted by: kevinlcarlson
Posted on: 2006-09-24 19:23:00

Please let me know if you found a solution to this.
I've looked at the imap_open function, but it is apparently not installed at Dreamhost. Maybe something in PEAR?


Re: filtering email to a script

Posted by: rlparker
Posted on: 2006-09-24 21:22:00

You can always compile your own PHP and include these functions if you desire. See the Dreamhost Wiki for how to install/configure your own version of PHP.

--rlparker

Tags: email attachmentsprocmailincoming emailstiaappreciatedgrabphpimagesweb directoryorg