Re: Sending mail directly to php

From: Date: Tue, 05 Apr 2005 22:40:45 +0000
Subject: Re: Sending mail directly to php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-212315@lists.php.net to get a copy of this message
On Tue, April 5, 2005 7:43 am, ÞilvinasÐaltys said: > I have to create a script that could parse attachments that come from > another > server by mail. I could use crontab & pear pop to do the job. But maybe > someone knows if it is possible to configure my server in such way that it > could send mail attachments directly to my php script. You can use smrsh (man smrsh) and write a PHP script as the target of a re-direct in your sendmail.cf (?) file. I've done it, so it can't be *THAT* tricky :-) You could also use IMAP instead of POP, which might make the parsing bits a bit easier. I've done that too (ignoring attachments) so that also can't be *THAT* tricky. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#212315) next »