add: contentChanged = false; msgCompose.bodyModified = false; 
context: function GenericSendMessage( msgType ){	dump("GenericSendMessage from XUL\n");  dump("Identity = " + getCurrentIdentity() + "\n");    	if (msgCompose != null)	{	    var msgCompFields = msgCompose.compFields;	    if (msgCompFields)	    {			Recipients2CompFields(msgCompFields);			msgCompFields.SetSubject(document.getElementById("msgSubject").value);			dump("attachments = " + GenerateAttachmentsString() + "\n");			try {				msgCompFields.SetAttachments(GenerateAttachmentsString());			}			catch (ex) {				dump("failed to SetAttachments\n");			}				    // Before sending the message, check what to do with HTML message, eventually abort.            action = DetermineHTMLAction();            if (action == msgCompSendFormat.AskUser)            {                var result = {action:msgCompSendFormat.PlainText, abort:false};	            window.openDialog("chrome://messengercompose/content/askSendFormat.xul",	                                "askSendFormatDialog", "chrome,modal",	                                result);	            if (result.abort)	                return;	             action = result.action;            }            switch (action)            {                case msgCompSendFormat.PlainText:                    msgCompFields.SetTheForcePlainText(true);                    msgCompFields.SetUseMultipartAlternativeFlag(false);                    break;                case msgCompSendFormat.HTML:                    msgCompFields.SetTheForcePlainText(false);                    msgCompFields.SetUseMultipartAlternativeFlag(false);                    break;                case msgCompSendFormat.Both:                    msgCompFields.SetTheForcePlainText(false);                    msgCompFields.SetUseMultipartAlternativeFlag(true);			        break;	                   default: dump("\###SendMessage Error: invalid action value\n"); return;            }			try {				msgCompose.SendMsg(msgType, getCurrentIdentity(), null);			}			catch (ex) {				dump("failed to SendMsg\n");			}		}	}	else		dump("###SendMessage Error: composeAppCore is null!\n");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2adfe7406abc4498fb275bf556e80f7e971d4628/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js