rem: server.hostname = gSmtpHostname.value;  server.username = gSmtpUsername.value;   
add: if (gSmtpUseUsername.checked) gSmtpAuthMethod.setAttribute("value", "1"); else gSmtpAuthMethod.setAttribute("value", "0");  dump("Saving to " + server + "\n"); if (server) { server.hostname = gSmtpHostname.value; server.authMethod = (gSmtpUseUsername.checked ? 1 : 0); dump("Saved authmethod = " + server.authMethod + " but checked = " + gSmtpUseUsername.checked + "\n"); server.username = gSmtpUsername.value;  } 
context: function saveSmtpSettings(server){    if (!server) return;    server.hostname = gSmtpHostname.value;    //    server.alwaysUseUsername = document.getElementById("smtp.alwaysUseUsername").checked;    server.username = gSmtpUsername.value;    //server.savePassword = gSmtpSavePassword.checked;    }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/023b7e058c6e4b8ec2eacb40b02ca787f92b8615/smtpEditOverlay.js/buggy/mailnews/base/prefs/resources/content/smtpEditOverlay.js