Lines 29-31 of commands.inc.php are as follows:
$this->Mail->Mailer = "smtp";
} else {
$this->Mail->Mailer = "mail";
I believe they should be:
$mailer->Mailer = "smtp";
} else {
$mailer->Mailer = "mail";
since the use of $this is invalid in the context of function sendMail