Re: Return Path [SOLVED]

From: Date: Sat, 06 Aug 2005 14:55:48 +0000
Subject: Re: Return Path [SOLVED]
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-220141@lists.php.net to get a copy of this message
Works great. Thank you. Although I swear I tried that last night. Eh I probably messed something up. Andrew Darrow Kronos1 Productions www.pudlz.com ----- Original Message ----- From: "Sebastian" <sebastian@broadbandgaming.net> To: <sub@pudlz.com> Cc: <php-general@lists.php.net> Sent: Saturday, August 06, 2005 6:12 AM Subject: Re: [PHP] Return Path > try using -f > > mail($toemail, $subject, $message, $from, '-f bounce@domain.com'); > > sub@pudlz.com wrote: > > >I don't seem to be able to set the "return path" using the mail() function. I can't figure out why "from" will let me set it, but not the return path. > > > >$headers = 'From: sender@pudlz.com' . "\r\n" . > > 'Return-path: sender@pudlz.com' . "\r\n" . > > 'X-Mailer: PHP/' . phpversion(); > > > >mail($email, $subject, $message, $headers); > > > > > >Any thoughts? > > > >Andrew Darrow > >Kronos1 Productions > >www.pudlz.com > > > > > > > > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 8/4/2005 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 8/4/2005 > >

« previous php.general (#220141) next »