static void Main(string[] args) { SMTPServer server = new SMTPServer(); bool outputToFile = args.All(a => a != "--no-files"); string outputFolder = "mail/"; server.RunServer(outputToFile, outputFolder); }
public MailListener(SMTPServer aOwner, IPAddress localaddr, int port, string outputFolder) : base(localaddr, port) { owner = aOwner; OutputDirectory = outputFolder; }
public MailListener(SMTPServer aOwner, IPAddress localaddr, int port) : base(localaddr, port) { owner = aOwner; OutputDirectory = "mail/"; }
static void Main(string[] args) { SMTPServer server = new SMTPServer(); server.RunServer(); }
static void Main(string[] args) { SMTPServer server = new SMTPServer(); bool outputToFile = args.All(a => a != "--no-files"); server.RunServer(outputToFile); }