".htmlspecialchars($string)." | ";
$response = sqimap_run_command_list($imap_stream, trim($string),false, $responses, $message,false);
array_push($response, $responses . ' ' .$message);
return $response;
}
/**
* Print the IMAP response to options.php
*/
function print_response($response) {
foreach($response as $index=>$value) {
if (is_array($value)) {
print_response($value);
}
else {
print htmlspecialchars($value)."
\n";
}
}
}
?>