var userName = getenv("USER");
pref("mail.server.server2.hostname", "mailserver.mydomain.mytld");
pref("mail.server.server2.name", userName + "@mydomain.mytld");
this seems to stop processing when encountering the "var" line. When commenting out this line, "mail.server.server2.hostname" gets set, but for obvious reasons "mail.server.server2.name" does not get set, as the variable userName is not defined.
also the following does not work:
var userName = getenv("USER"); server. server2. hostname" , "mailserver. mydomain. mytld") ; server. server2. name", userName + "@mydomain.mytld");
pref("mail.
pref("mail.
this seems to stop processing when encountering the "var" line. When commenting out this line, "mail.server. server2. hostname" gets set, but for obvious reasons "mail.server. server2. name" does not get set, as the variable userName is not defined.