require_once($path_to_root . "/reporting/includes/class.mail.inc");
$mail = new email($this->company['coy_name'], $this->company['email']);
$from = $this->company['coy_name'] . " <" . $this->company['email'] . ">";
require_once($path_to_root . "/reporting/includes/class.mail.inc");
$mail = new email($this->company['coy_name'], $this->company['email']);
$from = $this->company['coy_name'] . " <" . $this->company['email'] . ">";
$to = $myrow['DebtorName'] . " <" . $myrow['email'] . ">";
$msg = $doc_Dear_Sirs . " " . $myrow['DebtorName'] . ",\n\n" . $doc_AttachedFile . " " . $subject .
"\n\n";
$to = $myrow['DebtorName'] . " <" . $myrow['email'] . ">";
$msg = $doc_Dear_Sirs . " " . $myrow['DebtorName'] . ",\n\n" . $doc_AttachedFile . " " . $subject .
"\n\n";
$msg2 .= nl2br($sender) . "<br>";
$msg2 .= "<br>Filepath: " . $fname . "<br>Filename: " . $this->filename . "<br>";
}
$msg2 .= nl2br($sender) . "<br>";
$msg2 .= "<br>Filepath: " . $fname . "<br>Filename: " . $this->filename . "<br>";
}