$res = $mailer->send($p->email, $email['headers'], $email['body']);
- $this->debug("GOT response to send: ". var_export($res,true));
+ $this->debug("GOT response to send: ". var_export($res,true));
if ($res === true) {
// success....
}
}
- $this->errorHandler( " SENT {$w->id} - {$w->remarks}", true);
+ $this->errorHandler( " SENT {$w->id} - {$ev->remarks}", true);
}
// what type of error..
$code = empty($res->userinfo['smtpcode']) ? -1 : $res->userinfo['smtpcode'];