rem: var msgComposeService = Components.classes["component: 
add: var msgComposeService = Components.classes["@mozilla.org/messengercompose;1"].getService(); 
context: function sendMessage(){	netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"); 	netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); 	try {	var msgComposeService = Components.classes["component://netscape/messengercompose"].getService();	msgComposeService = msgComposeService.QueryInterface(Components.interfaces.nsIMsgComposeService);//	var msgCompose = null;//	var MAX_RECIPIENTS = 0;//	var numAttachments = 0;//	var currentAttachment = null;//	var other_header = "";//	var update_compose_title_as_you_type = true;	dump("IDENTITY = " + identity + "\n");	var mycompose = msgComposeService.InitCompose(window, null, 0, 0, null,identity);	mycompose.compFields.SetFrom(identity.email);	mycompose.compFields.SetTo(identity.email);	time = getTimeStamp();	mycompose.compFields.SetSubject(time);	mycompose.compFields.SetCharacterSet("ISO-8859-1");	mycompose.compFields.SetBody("This is the body\n");	mycompose.SendMsg(0, identity, null);	dump("MSG SENT \n");	dump("TIME = " + time + "\n");	}  //try	catch (e) {		dump("E = " + e + "\n");	}}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0257791053c2b38e1dfaf2ee11afae973e82e394/popTest.js/clean/mailnews/base/resources/content/popTest.js