Turns out sendmail_path cannot be set via ini_set().