This project has moved and is read-only. For the latest updates, please go here.
2
Vote

SPF validation raising error on logs

description

Error on dns query: System.NullReferenceException: Object reference not set to an instance of an object.
at ARSoft.Tools.Net.Dns.DnsClientBase.<QuerySingleResponseByUdpAsync>d__35.MoveNext()

i am using:
ARSoft.Tools.Net.Spf.SpfValidator SPFValidator = new ARSoft.Tools.Net.Spf.SpfValidator();
var checkhost = SPFValidator.CheckHostAsync(IPAddress.Parse("54.12.10.55"), "test.com", "test@test.com"); try { checkhost.Wait();
}
catch (AggregateException ae)
{
ae.Flatten();
continue;
}
catch
{
continue;
}
result = checkhost.Result.Result;

and i can't even catch the exception

comments