Title: Comments not emailing?
Last modified: August 18, 2016

---

# Comments not emailing?

 *  [ginadapooh](https://wordpress.org/support/users/ginadapooh/)
 * (@ginadapooh)
 * [22 years, 12 months ago](https://wordpress.org/support/topic/comments-not-emailing/)
 * I have wordpress installed on two diffrent sites. On both sites I upgraded from
   0.7 to 0.71. However in doing so I no longer recive an email when a comment is
   posted. I have rechecked my configration file to make sure that it has a) a correct
   email address, and b) permission to email new comments to authors. Am I missing
   something? Thank you for any help!!

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Moderator [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * (@matt)
 * [22 years, 12 months ago](https://wordpress.org/support/topic/comments-not-emailing/#post-22496)
 * There was a problem with this but it was fixed by the .71 release I believe. 
   Could you tell me what you have on line 111 of b2comments.post.php?
 *  [kelson](https://wordpress.org/support/users/kelson/)
 * (@kelson)
 * [22 years, 12 months ago](https://wordpress.org/support/topic/comments-not-emailing/#post-22497)
 * I just noticed this on my own site – it seems that WordPress is assuming that
   the comment author is including an email address (which can be made optional).
   This results in a From line like “From: So-And-So <>” which is invalid, and some
   mail servers will reject mail on this basis.
    IIRC, B2 used to use its own admin
   address to send all notifications, regardless of whether the comment author provided
   an address. Perhaps WordPress should use this as a fallback?
 *  Moderator [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * (@matt)
 * [22 years, 12 months ago](https://wordpress.org/support/topic/comments-not-emailing/#post-22500)
 * Hmm, I never heard of that behaviour. Yes if some mail servers do that I guess
   it should do a default email. The email from comment author thing can be _really_
   handy if you want to reply directly through email.
 *  [kelson](https://wordpress.org/support/users/kelson/)
 * (@kelson)
 * [22 years, 12 months ago](https://wordpress.org/support/topic/comments-not-emailing/#post-22503)
 * The bounces I got earlier referred me to [http://www.pobox.com/bounce-badfrom.mhtml](http://www.pobox.com/bounce-badfrom.mhtml)
   which cites RFC 2822 as their justification.
    Here’s what I did. Just before 
   the infamous line 111 I added: $comment_from_email = $comment_author_email; if(
   $comment_author_email == ”) { $comment_from_email = $admin_email; } Then I replaced
   $comment_author_email on the next line with $comment_from_email This may have
   nothing to do with the problems ginadapooh is having, but at least it will help
   in some cases.
 *  Thread Starter [ginadapooh](https://wordpress.org/support/users/ginadapooh/)
 * (@ginadapooh)
 * [22 years, 12 months ago](https://wordpress.org/support/topic/comments-not-emailing/#post-22505)
 * I just tried the information from Kelon and it didn’t help. Thank you for the
   suggestion though. The strangest thing about this is that it worked just fine
   while I was using 7.0
    Would it be possible to replace the 7.1 b2comments.post.
   php with the one from 7.0? Or were there other dependent changes made between
   the releases?
 *  Moderator [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * (@matt)
 * [22 years, 12 months ago](https://wordpress.org/support/topic/comments-not-emailing/#post-22506)
 * There were some important changes. The email thing he mentioned actually has 
   been around since .70.
 *  [hatespitlove](https://wordpress.org/support/users/hatespitlove/)
 * (@hatespitlove)
 * [22 years, 7 months ago](https://wordpress.org/support/topic/comments-not-emailing/#post-23089)
 * Any way to add an html template to email comment notifications as opposed to 
   plain text?
 *  Anonymous
 * [21 years, 7 months ago](https://wordpress.org/support/topic/comments-not-emailing/#post-23218)
 * Does anybody know how to correct this? I’ve changed email address to several 
   different types of email and still can’t receive notification when someone posts
   a new comment.
    Thanks, Jessica
 *  [Bryan Villarin](https://wordpress.org/support/users/btvillarin/)
 * (@btvillarin)
 * [21 years, 7 months ago](https://wordpress.org/support/topic/comments-not-emailing/#post-23219)
 * You might be best off starting a new thread, indicating what version of WordPress
   you have (especially since this thread is a year old, with a former WordPress
   version).
 *  Anonymous
 * [21 years, 7 months ago](https://wordpress.org/support/topic/comments-not-emailing/#post-23220)
 * Good Point.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Comments not emailing?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 6 participants
 * Last reply from: Anonymous
 * Last activity: [21 years, 7 months ago](https://wordpress.org/support/topic/comments-not-emailing/#post-23220)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
