rem: var inboxFolder = rootMsgFolder.getFoldersWithFlag(0x1000, 1, outNumFolders); var selectedFolderResource = inboxFolder.QueryInterface(Components.interfaces.nsIRDFResource); var selectedFolder = selectedFolderResource.QueryInterface(Components.interfaces.nsIFolder); SelectFolder(selectedFolder.URI); 
add: var inboxFolder = rootMsgFolder.getFoldersWithFlag(0x1000, 1, outNumFolders); SelectFolder(inboxFolder.URI); 
context: function loadInboxForNewAccount() {  // gNewAccountToLoad is set in the final screen of the Account Wizard if a POP account  // was created, the download messages box is checked, and the wizard was opened from the 3pane  if (gNewAccountToLoad) {    var rootMsgFolder = gNewAccountToLoad.incomingServer.rootMsgFolder;    var outNumFolders = new Object();    var inboxFolder = rootMsgFolder.getFoldersWithFlag(0x1000, 1, outNumFolders);          var selectedFolderResource = inboxFolder.QueryInterface(Components.interfaces.nsIRDFResource);    var selectedFolder = selectedFolderResource.QueryInterface(Components.interfaces.nsIFolder);    SelectFolder(selectedFolder.URI);    window.focus();    setTimeout(MsgGetMessage, 0);    gNewAccountToLoad = null;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/995d27c1e9c085bacb21cf49b86ed1ed395ea525/accountUtils.js/clean/mailnews/base/prefs/resources/content/accountUtils.js