rem: CoalesceGetMsgsForPop3ServersByDestFolder(currentServer, pop3DownloadServersArray, localFoldersToDownloadTo); pop3Server = currentServer.QueryInterface(Components.interfaces.nsIPop3IncomingServer); 
add: dump(currentServer.serverURI + "...skipping, already opened\n"); } else if (currentServer.type == "pop3" && currentServer.downloadOnBiff) { CoalesceGetMsgsForPop3ServersByDestFolder(currentServer, pop3DownloadServersArray, localFoldersToDownloadTo); pop3Server = currentServer.QueryInterface(Components.interfaces.nsIPop3IncomingServer); 
context: function MsgGetMessagesForAllServers(defaultServer){    // now log into any server    try    {        var allServers = accountManager.allServers;        var i;        // array of isupportsarrays of servers for a particular folder        var pop3DownloadServersArray = new Array();        // parallel isupports array of folders to download to...        var localFoldersToDownloadTo = Components.classes["@mozilla.org/supports-array;1"].createInstance(Components.interfaces.nsISupportsArray);        var pop3Server;        for (i = 0; i < allServers.Count(); ++i)        {            var currentServer = allServers.GetElementAt(i).QueryInterface(Components.interfaces.nsIMsgIncomingServer);            var protocolinfo = Components.classes["@mozilla.org/messenger/protocol/info;1?type=" + currentServer.type].getService(Components.interfaces.nsIMsgProtocolInfo);            if (protocolinfo.canLoginAtStartUp && currentServer.loginAtStartUp)            {                if (currentServer.type == "pop3" && currentServer.downloadOnBiff)                {                  CoalesceGetMsgsForPop3ServersByDestFolder(currentServer, pop3DownloadServersArray, localFoldersToDownloadTo);                  pop3Server = currentServer.QueryInterface(Components.interfaces.nsIPop3IncomingServer);                }                else                // Check to see if there are new messages on the server                currentServer.PerformBiff(msgWindow);            }        }        for (i = 0; i < pop3DownloadServersArray.length; ++i)        {          // any ol' pop3Server will do - the serversArray specifies which servers to download from          pop3Server.downloadMailFromServers(pop3DownloadServersArray[i], msgWindow, localFoldersToDownloadTo.GetElementAt(i), null);        }    }    catch(ex)    {        dump(ex + "\n");    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/283dfd00e60aec177bcc9b710c82e12c306301f1/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js