Re: Return Path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



try using -f

mail($toemail, $subject, $message, $from, '-f bounce@xxxxxxxxxx');

sub@xxxxxxxxx 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@xxxxxxxxx' . "\r\n" .
  'Return-path: sender@xxxxxxxxx' . "\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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux