Hi
I trying send emails, but i have this error:

Fatal error: Call to a member function read() on a non-object in /home/xxxxxx/public_html/admin/mail.php on line 380

part of text are here:

$dir = @dir(DIR_WS_ADMIN_ATTACHMENTS);
$file_list[] = array('id' => '', 'text' => "(none)");
while ($file = $dir->read()) {
if (is_file(DIR_WS_ADMIN_ATTACHMENTS . $file) && strtoupper($file) != 'CVS' && $file != "." && $file != "..") {
$file_list[] = array('id' => $file , 'text' => $file);
}
}

I dont know whats is the trouble.

Please help me with this situation

Thanks

Rolando Maldonado.