add:    if ((defaultSmtpServer == null) && (!hostnameIsIllegal(gSmtpHostname.value))) { defaultSmtpServer = smtpService.createSmtpServer(); }  
context: function onSave(){    var defaultSmtpServer = null;    try {        defaultSmtpServer = smtpService.defaultServer;    }    catch (ex) {        defaultSmtpServer = null;    }    saveSmtpSettings(defaultSmtpServer);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/100f9782b1094f77d32cac9222cb24fea537f5d4/am-smtp.js/clean/mailnews/base/prefs/resources/content/am-smtp.js