die("send repeat to early\n");
}
- if ($opts['debug']) {
+ if (!empty($opts['debug'])) {
print_r($w);
}
{
$m = 'notify'. $notify->evtype;
var_dump($m);
- if (!empty($notify->evtype) && method_exists($object,'notify'. $notify->evtype)) {
- $object->$m($rcpt, $last_sent_date, $notify, $force);
+
+ if (!empty($notify->evtype) && method_exists($object,$m)) {
+ return $object->$m($rcpt, $last_sent_date, $notify, $force);
}
}
echo $str . "\n";
}
-
+ function output()
+ {
+ die("done\n");
+ }
}
\ No newline at end of file