sub@xxxxxxxxxxxxxxx wrote:
Safe mode is indeed off and sendmail_from has "no value". I've modified the code as below: $return="test@xxxxxxxx"; $orig_sendmail_from = ini_get('sendmail_from'); ini_set('sendmail_from', $return); $headers = "From: Test <test@xxxxxxxx>\r\n" . "Reply-To: Test <test@xxxxxxxx>\r\n"; $sub="Test sub"; $msg="Test msg"; $to="sub@xxxxxxxxxxxxxxx"; mail($to, $sub, $msg, $headers);
What headers do you get when you do this? -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php