Пример #1
0
        static void Main(string[] args)
        {
            SMTPServer server       = new SMTPServer();
            bool       outputToFile = args.All(a => a != "--no-files");
            string     outputFolder = "mail/";

            server.RunServer(outputToFile, outputFolder);
        }
Пример #2
0
 public MailListener(SMTPServer aOwner, IPAddress localaddr, int port, string outputFolder)
     : base(localaddr, port)
 {
     owner           = aOwner;
     OutputDirectory = outputFolder;
 }
Пример #3
0
 public MailListener(SMTPServer aOwner, IPAddress localaddr, int port)
     : base(localaddr, port)
 {
     owner = aOwner;
     OutputDirectory = "mail/";
 }
Пример #4
0
 static void Main(string[] args)
 {
     SMTPServer server = new SMTPServer();
     server.RunServer();
 }
Пример #5
0
 static void Main(string[] args)
 {
     SMTPServer server = new SMTPServer();
     bool outputToFile = args.All(a => a != "--no-files");
     server.RunServer(outputToFile);
 }