require_once($path_to_root . "/reporting/includes/class.mail.inc");
$mail = new email($this->company['coy_name'], $this->company['email']);
if (!isset($myrow['email']) || $myrow['email'] == '')
require_once($path_to_root . "/reporting/includes/class.mail.inc");
$mail = new email($this->company['coy_name'], $this->company['email']);
if (!isset($myrow['email']) || $myrow['email'] == '')