function email_verify_checkall in Email Verify 5
Same name and namespace in other branches
- 6 email_verify.check.inc \email_verify_checkall()
- 7 email_verify.check.inc \email_verify_checkall()
Look though the whole user base for invalid emails. Can be very long when hosts timeout.
1 string reference to 'email_verify_checkall'
File
- ./
email_verify.module, line 152
Code
function email_verify_checkall() {
$content = "<table>";
$found = 0;
$result = db_query('SELECT uid,name,mail FROM {users}');
while ($row = db_fetch_object($result)) {
if (email_verify_check($row->mail)) {
$content .= "<tr><td><a href='?q=user/{$row->uid}/edit'>" . check_plain($row->name) . "</a><td>" . check_plain($row->mail);
if (++$found >= 100) {
break;
}
}
}
$content .= "</table>";
print theme("page", $content);
}