Title: wp-includes/class-phpmailer.php problem
Last modified: August 31, 2016

---

# wp-includes/class-phpmailer.php problem

 *  [hi7tek](https://wordpress.org/support/users/hi7tek/)
 * (@hi7tek)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/wp-includesclass-phpmailerphp-problem/)
 * my wordpress installation is not sending e-mails. I tried to override mail function
   in couple ways: using wp-smtp-email plugin, adding actions to functions.php, 
   sending through smpt – nothing works. the plugin log indicates that for some 
   reason the code within wp-includes/class-phpmailer.php variables are not overwritten
   when sending messages. The messages are forced from “root@localhost” email which
   is clearly incorrect. The same website installed on similar but other hosting
   works flawlessly.
 * I tried to match server permission but they are the same 644. I even temporarily
   gave class-phpmailer.php full permissions to no avail. This is becoming increasingly
   frustrating and I can’t find no clues or solution. Any ideas? Thanks in advance.
   
   Greg

Viewing 1 replies (of 1 total)

 *  [swsupport](https://wordpress.org/support/users/swsupport/)
 * (@swsupport)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/wp-includesclass-phpmailerphp-problem/#post-8615003)
 * Did this ever get resolved for you?

Viewing 1 replies (of 1 total)

The topic ‘wp-includes/class-phpmailer.php problem’ is closed to new replies.

## Tags

 * [emails](https://wordpress.org/support/topic-tag/emails/)
 * [phpmailer](https://wordpress.org/support/topic-tag/phpmailer/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [swsupport](https://wordpress.org/support/users/swsupport/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/wp-includesclass-phpmailerphp-problem/#post-8615003)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
