rem: addressList = addressList + (i > 0 ? ",":"") + addresses.GetElementAt(i).QueryInterface(Components.interfaces.nsISupportsString).data; 
add: addressList = addressList + (i > 0 ? ",":"") + addresses.GetElementAt(i).QueryInterface(Components.interfaces.nsISupportsCString).data; 
context: function NewMessageToSelectedAddresses(type, format, identity) {  var abSidebarPanel = document.commandDispatcher.focusedWindow;  var abResultsTree = abSidebarPanel.document.getElementById("abResultsTree");  var abResultsBoxObject = abResultsTree.treeBoxObject;  var abView = abResultsBoxObject.view;  abView = abView.QueryInterface(Components.interfaces.nsIAbView);  var addresses = abView.selectedAddresses;  var params = Components.classes["@mozilla.org/messengercompose/composeparams;1"].createInstance(Components.interfaces.nsIMsgComposeParams);  if (params) {    params.type = type;    params.format = format;    params.identity = identity;    var composeFields = Components.classes["@mozilla.org/messengercompose/composefields;1"].createInstance(Components.interfaces.nsIMsgCompFields);    if (composeFields) {      var addressList = "";      for (var i = 0; i < addresses.Count(); i++) {        addressList = addressList + (i > 0 ? ",":"") + addresses.GetElementAt(i).QueryInterface(Components.interfaces.nsISupportsString).data;      }      composeFields.to = addressList;      params.composeFields = composeFields;      msgComposeService.OpenComposeWindowWithParams(null, params);    }  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/f7ad4265ef6a40ea01c54009718ef28974e67fe9/mailCommands.js/clean/mailnews/base/resources/content/mailCommands.js