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

Get Result for a SPF Valdation

Aug 28 at 3:07 PM
Hi,

I try to run SPF Validaton code but when it cames to last line nothing returns.Why this does?
Please help.Thenks.


var validator = new SpfValidator()
{
HeloDomain = DomainName.Parse("example.com"),
LocalDomain = DomainName.Parse("receivingmta.example.com"),
LocalIP = IPAddress.Parse("192.0.2.1")
};

SpfQualifier result = validator.CheckHost(IPAddress.Parse("192.0.2.200"), DomainName.Parse("example.com"), "sender@example.com").Result;