Not Getting Notified When Someone Leaves You A Comment?
- 10 Comment
If you’ve upgraded to WordPress version 2.3.1, you may have noticed that you haven’t been receiving notifications when someone leaves a comment on your blog. For some reason, this doesn’t happen to everyone, but if you insist on getting notified the moment someone leaves a comment on one of your posts, then read on.
Now, I can’t explain the why’s and what’s, but the solution is really very simple. All I had to do was modify my pluggable.php file. This is located in every WP install at:
root > wp-includes > pluggable.php.
You’ll want to comment out line 228:
$phpmailer->Sender = apply_filters( 'wp_mail_from', $from_email );
So it should look like this:
//$phpmailer->Sender = apply_filters( 'wp_mail_from', $from_email );
Once I uploaded the file, I made a quick test comment. Seconds later I received the glorious sound of Gmail notifying me I had a gift arrive in my inbox.