function get($id,$opts)
{
- print_r($opts);
+ //print_r($opts);
if ($opts['DB_DataObject-debug']) {
DB_DataObject::debugLevel($opts['DB_DataObject-debug']);
}
'localhost' => $ff->Mail['helo'],
'timeout' => 15,
'socket_options' => isset($ff->Mail['socket_options']) ? $ff->Mail['socket_options'] : null,
- 'debug' => $opts['debug'],
+ 'debug' => isset($opts['debug']) ? 1 : 0,
));
$res = $mailer->send($p->email, $email['headers'], $email['body']);