Title: wordpress   php5   qmail
Last modified: August 19, 2016

---

# wordpress php5 qmail

 *  [zhingeo](https://wordpress.org/support/users/zhingeo/)
 * (@zhingeo)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/wordpress-php5-qmail/)
 * I was having problems with a recent installation. wp_mail wasn’t getting any 
   mails through. I had recently recompiled php to include mail() support. After
   investigating, I finally found errors when wp_mail was using MailSend (correctly)
   but trying to throw in a sendmail parameter to qmail-inject that it didn’t understand(-
   o). I replaced line 433 of class-phpmailer.php:
 * `$params = sprintf("-oi -f %s", $this->Sender);`
 * with:
 * `$params = sprintf("-f %s", $this->Sender);`
 * and everything is working now. I’m not sure what the right way to solve this 
   or detect this or what have you for installations with my particular set of circumstances,
   but… there you have it. Hope this helps someone else out that is having the same
   problem.
 * – ZG

The topic ‘wordpress php5 qmail’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 0 replies
 * 1 participant
 * Last reply from: [zhingeo](https://wordpress.org/support/users/zhingeo/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/wordpress-php5-qmail/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
