Thanks for your help Jason, have you got any examples that you might be able
to send me on how you have used reformime to decode email messages

-----Original Message-----
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: 18 November 2002 05:35
Subject: Re: [PHP] PHP Script to remove attachments from emails and
store them on the server

On Monday 18 November 2002 07:34, Simon Chilmaid wrote:
> Hi all
> I have a script that is currently running on my server which intercepts
> messages being sent into a specific address, it is piped to this through
> alias in the aliases file. What would I need to add to this script in
> for it to firstly check for the presence of attachments to any email
> message and secondly if any are detected how can these be saved to disk
> locally on the server that this is running on

You can have a look at the chapters "IMAP, POP3 and NNTP functions" &
"mailparse functions" to see if there are any suitable functions there.

What I do is run reformime (google for that if you need to) to extract all
message parts.

Jason Wong -> Gremlins Associates ->
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

        Silence is the only virtue he has left.

PHP General Mailing List (
To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to