public OneAgent(Kernel kernel, Server server, Conf conf, Logger logger, MailQueue mailQueue, OneQueue oneQueue) : base(kernel.CreateLogger("OneAgent", true, null)) { _conf = conf; _logger = logger; _mailQueue = mailQueue; _oneQueue = oneQueue; _smtpClient2 = new SmtpClient2(); //暫定 _kernel = kernel; _server = server; }
public OneAgent(Kernel kernel, Server server,Conf conf,Logger logger, MailQueue mailQueue, OneQueue oneQueue) : base(kernel.CreateLogger("OneAgent",true,null)) { _conf = conf; _logger = logger; _mailQueue = mailQueue; _oneQueue = oneQueue; _smtpClient2 = new SmtpClient2(); //暫定 _kernel = kernel; _server = server; }