Beispiel #1
0
        public bool Save(Tree config)
        {
            if (!config.ChildNodes.Contains(nodeConfig))
            {
                nodeConfig["file"] = string.Format(AMSHelper.MailListConfigFile, AmsMailbox.GetDomainName(maillistName), AmsMailbox.GetAccountName(maillistName));
                config.ChildNodes.Add(nodeConfig);
            }

            return(AMSHelper.SetMailListsConfig(config) &&
                   AMSHelper.SetMailingListConfig(listConfig, maillistName));
        }