[EMAIL PROTECTED] 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="[EMAIL PROTECTED]";

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

Reply via email to