tai4hang
09-04-2002, 03:11 AM
Dear all,
when i use the mail() function of php, it can't work properly and always return false, what wrong with it??
and what should i set at the server? i am using the sun server.
how to set the php.ini file at server??
$subject = $HTTP_POST_VARS['subject'];
$message = $HTTP_POST_VARS['message'];
$test_recipient = $HTTP_POST_VARS['test_recipient'];
$err_send = mail($test_recipient, $subject, $message);
Thx!
when i use the mail() function of php, it can't work properly and always return false, what wrong with it??
and what should i set at the server? i am using the sun server.
how to set the php.ini file at server??
$subject = $HTTP_POST_VARS['subject'];
$message = $HTTP_POST_VARS['message'];
$test_recipient = $HTTP_POST_VARS['test_recipient'];
$err_send = mail($test_recipient, $subject, $message);
Thx!