ValidatorBaseTCheckHost(IPAddress, DomainName, String, Boolean) Method
Validates the record(s)
Namespace: ARSoft.Tools.Net.SpfAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
public ValidationResult CheckHost(
IPAddress ip,
DomainName domain,
string sender,
bool expandExplanation = false
)
Public Function CheckHost (
ip As IPAddress,
domain As DomainName,
sender As String,
Optional expandExplanation As Boolean = false
) As ValidationResult
public:
ValidationResult^ CheckHost(
IPAddress^ ip,
DomainName^ domain,
String^ sender,
bool expandExplanation = false
)
member CheckHost :
ip : IPAddress *
domain : DomainName *
sender : string *
?expandExplanation : bool
(* Defaults:
let _expandExplanation = defaultArg expandExplanation false
*)
-> ValidationResult
- ip IPAddress
- The IP address of the SMTP client that is emitting the mail
- domain DomainName
- The domain portion of the "MAIL FROM" or "HELO" identity
- sender String
- The "MAIL FROM" or "HELO" identity
- expandExplanation Boolean (Optional)
- A value indicating if the explanation should be retrieved in case of Fail
ValidationResult The result of the evaluation