public static void SetUpMailDumpFolder() { string emailPath = GetEmailDumpFolderPath(); var mailDropPath = Directory.GetCurrentDirectory().Replace("\\Fixtures", "\\Community\\Tests\\Packages"); if (!Directory.Exists(emailPath)) { Directory.CreateDirectory(emailPath); } WebConfigManager.UpdateConfigForMailDrop(mailDropPath, emailPath); HostController.Instance.Update("SMTPServer", "localhost", false); }