// function addMailText($textpart)
// add some text to the mail
//
+ // function addAttachment($aname, $acontent, [$atype])
+ // add an attachment to the mail, use given file name, content and MIME type (defaults to application/octet-stream)
+ //
// function send()
// really send the mail
//
//print("To: ".$util->htmlify($recpt)."<br>\n");
//print(nl2br($util->htmlify($hdrs)));
//print(nl2br($util->htmlify($mtxt)));
- mail($recpt, $subj, $mtxt, $hdrs);
+ return mail($recpt, $subj, $mtxt, $hdrs);
}
function mimeencode($fieldtext) {