public void InitializeMailClient(string gwadmin, string adminpwd, string domainpath, string serverip) { try { admin = new GWadmin(gwadmin, adminpwd); admin.Initialize(domainpath); } catch (Exception e) { System.Console.WriteLine("Exception occured at Initializemailcleint " + e.Message); } }