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 an
> alias in the aliases file. What would I need to add to this script in order
> 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 -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
QOTD:
Silence is the only virtue he has left.
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php