Try this... it should answer a lot of questions.
Please edit the to support@modmysite.com and from fields webmaster@yourdomain.com, for your own use.
Code:
<?
$send = mail("support@modmysite.com", "Php Mail Test Script", "Its a Test!!!", "From: webmaster@yourdomain.com");
if ($send == true)
{
$output = "emailSent=true";
}
else
{
$output = "emailSent=false";
}
echo($output);
?>
If that works - then it is a header problem... email headers for Winows use can differ from those for Linux use.
You may need to change them in your code... for example:
Code:
$headers .= "From: {$site['title']} <{$site['email_notify']}>";
$headers2 .= "-f{$site['email_notify']}";
to
Code:
$headers .= "From: {$site['email_notify']}";
$headers2 .= "-f";
Smoge
Bookmarks