And to clarify for the listening public- it looks like the host has some restrictions on email to prevent spam. One of those restrictions is that the 5th parameter in mail() can’t be specified. Since EE sets that ‘from’ param (unless safe mode is on), all the emails using php mail failed.
And- opopen is disabled- which means sendmail will fail too.
We can’t do much to get sendmail working with that set up. However- we can pretty easily hack our way around the php mail restrictions. We can’t override safe_mode in the constructor (which is what I tried when I had you set var $safe_mode = TRUE; - as later in the script it’s redefined. But- if we set to true and then comment out that redefinition in core/core.email.php around line 121:
//$this->safe_mode = (ini_get("safe_mode") == 0) ? FALSE : TRUE;
safe_mode is treated as true, no 4th/5th params are set- and email works!
It’s slightly annoying to have to hack. But as long as the server errors when sent a 5th param, it’s the way to go.