Re: PHP4: extra headers in mail() ?

From: Date: Wed, 06 Dec 2000 07:16:22 +0000
Subject: Re: PHP4: extra headers in mail() ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-28854@lists.php.net to get a copy of this message
> if ( mail( $userAddress, $mailSubject, $mailBody, $mailHeaders ) ) > { > // success > } > else > { > // log an error event, and perhaps how far along we got > // in case a resume can be manually invoked. > } > > > The Return-Path is important to be able to set, because it is where a > remote mail delivery system should attempt to send a bounce to -- and if > at > our end we have a script (procmail in my case, but any number of > scripting > languages could be used) to handle incoming messages at the address(es), why does this work - mail is successful, even if the address does not exist!! And Return-Path: doesn't work, either!! I tried to do the same thing - detecting wrong email-addresses, bouncing mails ... But I never got a mail returned to the address given in: Return-path, Error-to, Reply-To !!! I'm on a Linux box with php v4.0.3pl1! michael -- Sent through GMX FreeMail - http://www.gmx.net

« previous php.general (#28854) next »