static void Main(string[] args) { String DumpFile = "d:\\temp\\mail.log"; SmtpServer Server = new SmtpServer(DumpFile); Server.Connect(); }