Re: Using php to parse mail

From: Date: Fri, 24 May 2002 20:19:41 +0000
Subject: Re: Using php to parse mail
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-99141@lists.php.net to get a copy of this message
On Fri, 24 May 2002, Cedric Fontaine wrote: > In fact, the script does work and does its jobs... But when Qmail > delivers the mail to my script, it assumes that the mail is not > successfully delivered and puts the mail in queue. But the mail is > fully delivered... > > That means that my script parses the mail cause it received it. And > some hours later, Qmail refeed my script and assumes that the mail is > not fully delivered and goes on for hours and hours... qmail uses the exit code to determine what happened to the message. Try ending your script with exit(99); that tells qmail that you're done with the message and never want to see it again. miguel

« previous php.general (#99141) next »