$eol$eol"; if ($old != null && $old != '') { $message .= "You will no longer receive notifications at the address:$eol <$old>$eol$eol"; $send = "$to,$old"; } else $send = $to; $message .= $ret; return sendnoheader($send, "EMail Address Change", $message, $emailinfo); } # function passChanged($to, $whoip, $emailinfo) { global $eol; if (!isset($emailinfo['KWebURL'])) return false; $web = $emailinfo['KWebURL']; $ret = emailEnd('password change', $whoip, $emailinfo); if ($ret === false) return false; $message = "Your password was changed.$eol$eol"; $message .= "If you didn't change it, then you need to urgently use$eol"; $message .= "the password reset at the pool to change it again.$eol$eol"; $message .= $ret; return sendnoheader($to, "Password Change", $message, $emailinfo); } # # getOpts required for email # If they aren't all setup in the DB then email functions will return false function emailOptList() { return 'KWebURL,KNoReply'; } # ?>