} // END - while
// Remove last comma
$UIDs = str_replace(", ", "\n", substr($UIDs, 0, -2));
// Send mail notification to admin
} // END - while
// Remove last comma
$UIDs = str_replace(", ", "\n", substr($UIDs, 0, -2));
// Send mail notification to admin