Using Aspose.Network.Verify.EmailValidator
Running the code at the bottom of this post produces a result of -2, DomainValidationFailed for a working email address. I've run it both with and without the DnsServer set. I can't find much documentation, examples, or forum posts on this other than forum posts that went unanswered.
Please advise how to get email validation working.
Thanks,
James Vitale
Dim ev As New Aspose.Network.Verify.EmailValidator
Dim result As Aspose.Network.Verify.ValidationResult
ev.DnsServers = New String() {"68.87.74.162", "68.87.68.162"}
ev.Validate("jvitale@buildercms.com", result)
If (result.ReturnCode = Aspose.Network.Verify.ValidationResponseCode.ValidationSuccess) Then
Else
End If