08.01.2012, 21:23
You did not add sufficient headers to the email, it requires more then just the "From:". Try this header:
Send an email with the following function:
PHP код:
$headers = 'From: your_email@yourhost.com' . "\r\n" .
'Reply-To: your_email@yourhost.com . "\r\n" .
'X-Mailer: PHP/' . phpversion();
PHP код:
mail($to, $subject, $body)