Title: Comment notification fix requested
Last modified: August 18, 2016

---

# Comment notification fix requested

 *  [shait](https://wordpress.org/support/users/shait/)
 * (@shait)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/comment-notification-fix-requested/)
 * I’ve had problems sending e-mail from WordPress. I was able to get the e-mail
   working that’s sent from /wp-login.php (“Your new password”, “Password Reset”,
   etc.) by changing the calls to wp_mail( to instead be mail( and
    adding: ini_set(“
   SMTP”,”mail.mysite.com”); ini_set(“smtp_port”,”25″); ini_set(“sendmail_from”,”
   user@mysite.com”);
 * I’d like to now get the comment notification e-mails working but I’m not sure
   how to do this. It looks like it might be pluggable.php and/or pluggable-functions.
   php located in /wp-includes/.
 * Could anyone offer some help, please?
 * FWIW, I don’t have any problems using the wp_mail function on WordPress installs
   I have on Apache servers. It’s only on an IIS6 server that wp_mail fails but 
   mail works in conjuction with the ini_set lines added.
 * Thanks in advance

The topic ‘Comment notification fix requested’ is closed to new replies.

## Tags

 * ["comment notification"](https://wordpress.org/support/topic-tag/comment-notification/)
 * [email](https://wordpress.org/support/topic-tag/email/)
 * [pluggable.php](https://wordpress.org/support/topic-tag/pluggable-php/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 0 replies
 * 1 participant
 * Last reply from: [shait](https://wordpress.org/support/users/shait/)
 * Last activity: [18 years, 8 months ago](https://wordpress.org/support/topic/comment-notification-fix-requested/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
