mgd711
02-18-2008, 12:12 AM
About 10 months ago I asked here why PHP mail wasn't working on my blog.
So I'm back again with a similar problem......
I switched host's on Saturday and installed my blog on a new server, everything worked fine until yesterday evening when I stopped getting e-mail's on comments.
The Includes/function_comments.php file read
// Additional headers
if ($comment_email!="") $headers .= "From: $comment_name <$comment_email>\n";
else $headers .= "From: PIXELPOST <$admin_email>\n";
$recipient_email = "admin <$admin_email>";
} // if (cfgrow['htmlemailnote']=='no')
so I changed it to....
// Additional headers
if ($comment_email!="") {$headers .= "From: $comment_name <$admin_email>\r\n"; $headers .= "Reply-To: $comment_name <$comment_email>\r\n"; }
else $headers .= "From: PIXELPOST <$admin_email>\r\n";
$recipient_email = "admin <$admin_email>";
} // if (cfgrow['htmlemailnote']=='no')
Which worked fine on my old host.
As I see it this is unlikely to be a PP problem but a problem with my new host.
The question is whats changed?
Mike
So I'm back again with a similar problem......
I switched host's on Saturday and installed my blog on a new server, everything worked fine until yesterday evening when I stopped getting e-mail's on comments.
The Includes/function_comments.php file read
// Additional headers
if ($comment_email!="") $headers .= "From: $comment_name <$comment_email>\n";
else $headers .= "From: PIXELPOST <$admin_email>\n";
$recipient_email = "admin <$admin_email>";
} // if (cfgrow['htmlemailnote']=='no')
so I changed it to....
// Additional headers
if ($comment_email!="") {$headers .= "From: $comment_name <$admin_email>\r\n"; $headers .= "Reply-To: $comment_name <$comment_email>\r\n"; }
else $headers .= "From: PIXELPOST <$admin_email>\r\n";
$recipient_email = "admin <$admin_email>";
} // if (cfgrow['htmlemailnote']=='no')
Which worked fine on my old host.
As I see it this is unlikely to be a PP problem but a problem with my new host.
The question is whats changed?
Mike