remove the code block that you included and see what the code returns.
var_dump(function_exists('send_res'));
If you are mistaken, you include the file with this function twice, replace:
includec include_onceand replace requirewith require_once.
, if :
if (!function_exists('sendRes')) {
function sendRes($s_attachment) //this is line 3
{
try {
mail($to, $subject, $message, $headers);
} catch (Exception $e) {
logMessage("An error occured Sending fingerprint:" . $e->getMessage());
}
}
}