I finally got this working xD (Attached. Simply extract and dump into modules folder.)
YOU NEED FPDF FOR THIS MODULE TO WORK. You can find it
here- download, extract and upload to your root.
Two small core edits required:1:
mail.phpFIND:
}else{
$sql = "DELETE FROM " . db_prefix("mail") . " WHERE msgto='".$session['user']['acctid']."' AND messageid IN ('".join("','",$msg)."')";
ADD DIRECTLY BEFORE:
}elseif (httppost('pdf_mail')>''){
modulehook('pdfmail',array());
2:
lib/mail/case_default.phpFIND:
rawoutput("<input type='submit' class='button' value=\"$delchecked\">");
ADD DIRECTLY AFTER:
modulehook('mailform',array());
And you're all set! (Make sure to set the necessary module settings beforehand- several of them are extremely important to the functioning of this module.)