PDA

View Full Version : Comment emails flagged as spam


kristarella
12-17-2006, 09:48 AM
For some time now my comment notifications have been flagged as spam by Gmail. I've installed Akismet so that the actual spam comments are no longer going through but no matter what I do I can't seem to get gmail to recognise the emails. I have them being automatically labelled and I keep going into my spam folder and saying "not spam". They are still being eaten though

Anyone have any ideas on how to fix this? It wouldn't be so much of a hassle but I use Thunderbird email client so I don't actually log into that email address very much (except to retrieve comment notices).

austriaka
12-17-2006, 10:58 AM
try putting the sender adress of these mails into the contact list of gmail. Mails from email adress within contct list should not be marked as spam

KArin

kristarella
12-17-2006, 09:22 PM
It seems to recognise the commenter's email address, which is different for each person, as the sender so I put my own email address in the contact list with the name "admin", perhaps that's why it think it's spam, it doesn't use my name.
See how it goes.

austriaka
12-18-2006, 11:19 AM
go to file "index.php"
look for line 1075 - 1077:
// Additional headers
if ($comment_email!="") $headers .= "From: $comment_name <$comment_email>\n";
else $headers .= "From: PIXELPOST <$admin_email>\n";

delete these lines and write instead:
$headers .= "From: PIXELPOST <$admin_email>\n";
if ($comment_email!="") $headers .= "Reply-To: $comment_name <$comment_email>\n";

Then the sender adress ist your own email adress. If there is a commentor email adress, this will be taken as "Reply-To".

With your own email adress in gmail contact list, everything should work ok

KArin