GethMailServerCOMIPaddress() public static method

public static GethMailServerCOMIPaddress ( ) : string
return string
Example #1
0
        public void TestMXQueryExistingDomain()
        {
            hMailServer.Application application = SingletonProvider <Utilities> .Instance.GetApp();


            string sQuery = application.Utilities.GetMailServer("*****@*****.**");

            if (sQuery != Utilities.GethMailServerCOMIPaddress())
            {
                throw new Exception("ERROR - DNX query failed: " + sQuery);
            }
        }