Beispiel #1
0
            public AppConfig(string[] args)
            {
                var settings = new SimpleSettings();

                settings.AddCommandlineArgs(args);
                settings.AddTextConfigSettings("simpleSmtpServer.config.txt");
                settings.AddAppConfigSettings("simpleSmtpServer.");
                MailsFolder         = settings.GetString("simpleSmtpServer.mailsFolder");
                ClearMailsOnStartup = settings.GetBool("simpleSmtpServer.clearMailsOnStartup");
                Port = settings.GetEnum("port", Ports.SMTP);
            }