If your host truly doesn't support sendmail, then you're SOL, unless you can find an open mail server. However, some server configurations don't allow the mail() command to be used. In that case, the following function may rescue you. Make sure to change the path to sendmail:
<?
function n_mail($from, $to, $subject, $core_msg, $add_header)
{
// $add_headers need to be separated by \r\n
$cmd_line=sprintf("/usr/sbin/sendmail -t");
$fp=popen($cmd_line,"w");
$temp=sprintf("From: %s\n",$from);
$len=strlen($temp);
$ret_p=fputs($fp,$temp,$len);
$temp=sprintf("To: %s\n",$to);
$len=strlen($temp);
$ret_p=fputs($fp,$temp,$len);
$temp=sprintf("Subject: %s\n",$subject);
$len=strlen($temp);
$ret_p=fputs($fp,$temp,$len);
if ($add_header != "") {
$temp=sprintf("%s\n",$add_header);
$len=strlen($temp);
$ret_p=fputs($fp,$temp,$len);
}
$temp=sprintf("\n%s\n",$core_msg);
$len=strlen($temp);
$ret_p=fputs($fp,$temp,$len);
pclose($fp);
}
?>