// this may modify $p->email. (it will not update it though)
$email = $this->makeEmail($o, $p, $last, $w, $force);
- print_r("\n");exit;
if ($email === true) {
}
-
-
-
if (isset($email['later'])) {
$old = clone($w);
$w->act_when = $email['later'];
$p->email = trim($p->email);
- //print_r($p);
require_once 'Validate.php';
if (!Validate::email($p->email, true)) {
$ev = $this->addEvent('NOTIFY', $w, "INVALID ADDRESS: " . $p->email);
function makeEmail($object, $rcpt, $last_sent_date, $notify, $force =false)
{
$m = 'notify'. $notify->evtype;
- print_r($m);
//var_dump($m);
if (!empty($notify->evtype) && method_exists($object,$m)) {