rem: if(serverCount == 1) ReloadSmtpPanel(); 
add: try{ReloadSmtpPanel();} catch(ex){} 
context: function msgOpenAccountWizard(){// Check to see if the verify accounts function was called with callback or not.  if (returnmycall)      window.openDialog("chrome://messenger/content/AccountWizard.xul",                        "AccountWizard", "chrome,modal,titlebar,resizable", {okCallback:WizCallback});  else      window.openDialog("chrome://messenger/content/AccountWizard.xul",                        "AccountWizard", "chrome,modal,titlebar,resizable");  //For the first account we need to reset the default smtp server in the panel.  var smtpService = Components.classes["@mozilla.org/messengercompose/smtp;1"].getService(Components.interfaces.nsISmtpService);  var serverCount = smtpService.smtpServers.Count();  if(serverCount == 1)    ReloadSmtpPanel();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/862fc658b4ade44f11559199707b3eb7ba6f950f/accountUtils.js/clean/mailnews/base/prefs/resources/content/accountUtils.js