phpMailer error "Could not execute: /usr/sbin/sendmail -t -i "

OS info

Problem description

… The phpmailer function used to work (back when I deployed v1 in March), but recently updated my app and now produces an error and doesn’t send. It’s not the server (since I have multiple Wordpress installs that can send mail via the phpmailer fine).

Error in Chrome: "Could not execute: /usr/sbin/sendmail -t -i "

It’s a pretty straight forward set up.

Steps to reproduce

  1. Setup mailer as server default.
  2. Send mail as next step.

Any ideas? I saw a few others had a couple of slightly different issues and read that the mailer was recently updated/changed?

code: 2
file: "/home/xxx/xxxxxxx.com/www/dmxConnectLib/PHPMailer/PHPMailer/PHPMailer.php"
line: 1684
message: "Could not execute: /usr/sbin/sendmail -t -i "

Thanks.

Community Page
Last updated: