varerrMsg="HTML mail warning:\nThis message may contain HTML, which could cause signing/encryption to fail. To avoid this in the future, you should press the SHIFT key when clicking on the Compose/Reply button to send signed mail.\nIf you sign mail by default, you should uncheck the 'Compose Messages in HTML' preference box to permanently disable HTML mail for this mail account."
EnigAlertCount("composeHtmlAlertCount",errMsg);
}
try{
varconvert=DetermineConvertibility();
if(convert==nsIMsgCompConvertible.No){
if(!EnigConfirm("Message contains HTML formatting information that will be lost when converting to plain text for signing/encryption. Do you wish to proceed?\n"))
return;
}
}catch(ex){
}
// Get plain text
// (Do we need to set nsIDocumentEncoder::* flags?)