function toMailer($obj,$force=false)
{
-
+ $p = new PEAR();
$contents = (array)$obj;
}
if(empty($this->id)){
- $p = new PEAR();
+
return $p->raiseError("template [{$contents['template']}] has not been set");
}
$contents['rcpts'] = $admin;
}
-
-
-
+
if(empty($contents['subject'])){
$contents['subject'] = $this->subject;