Filtering email to a script

software development

#1

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


#2

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?


#3

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