I'm running into a problem including this function from another file

```
function sendRes($s_attachment) //this is line 3
{
   /*Snip : processing message details..*/

    try {
        mail($to, $subject, $message, $headers);
    } catch (Exception $e) {
        logMessage("An error occured:" . $e->getMessage());
    }
} //this is line 54

```

When running the script, it outputs the following error

> 
> Fatal error: Cannot redeclare sendRes() (previously declared in
>  \*\*\*\*\*\*\*\*\*\*\email.php:3) in \*\*\*\*\*\*\*\*\*\*\*\email.php on line 54
> 
> 
> 

But it's declared only once, I checked that the file is included only once too. And the file contains only this function.

Any clues about why this isn't working ?