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