Re: return path of mail function

From: Date: Mon, 03 Apr 2006 05:31:05 +0000
Subject: Re: return path of mail function
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-233103@lists.php.net to get a copy of this message
sub@drewpydraws.com wrote:
Safe mode is indeed off and sendmail_from has "no value". I've modified the code as below: $return="test@test.com"; $orig_sendmail_from = ini_get('sendmail_from'); ini_set('sendmail_from', $return); $headers = "From: Test <test@test.com>\r\n" . "Reply-To: Test <test@test.com>\r\n"; $sub="Test sub"; $msg="Test msg"; $to="sub@drewpydraws.com"; mail($to, $sub, $msg, $headers);
What headers do you get when you do this? -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#233103) next »