$this->errorHandler(date('Y-m-d h:i:s ') . " Too many emails sent by {$dom}");
}
+ // that make's this test obsolete...
/*
$core_notify = DB_DataObject::factory($this->table);
if ($res === true) {
// success....
- $ev = $this->addEvent('NOTIFYSENT', $w, "{$w->to_email} - {$email['headers']['Subject']}");
+ $successEventName = (empty($email['successEventName'])) ? 'NOTIFYSENT' : $email['successEventName'];
+
+ $ev = $this->addEvent($successEventName, $w, "{$w->to_email} - {$email['headers']['Subject']}");
$ev->writeEventLog($this->debug_str);