function get($id,$opts)
{
+
+ //print_r($opts);
if ($opts['DB_DataObject-debug']) {
DB_DataObject::debugLevel($opts['DB_DataObject-debug']);
}
'host' => $dom ,
'localhost' => $ff->Mail['helo'],
'timeout' => 15,
- 'socket_options' => isset($ff->Mail['socket_options']) ? $ff->Mail['socket_options'] : null
- // 'debug' => true
+ 'socket_options' => isset($ff->Mail['socket_options']) ? $ff->Mail['socket_options'] : null,
+ 'debug' => isset($opts['debug']) ? 1 : 0,
));
$res = $mailer->send($p->email, $email['headers'], $email['body']);
{
$m = 'notify'. $notify->evtype;
//var_dump(get_class($object) . '::' .$m);
- echo $m . "\n";
if (!empty($notify->evtype) && method_exists($object,$m)) {
echo "calling :" . get_class($object) . '::' .$m . "\n";
return $object->$m($rcpt, $last_sent_date, $notify, $force);