ValidatorBaseTCheckHost(IPAddress, String, String, Boolean) Method

Validates the record(s)

Definition

Namespace: ARSoft.Tools.Net.Spf
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public ValidationResult CheckHost(
	IPAddress ip,
	string domain,
	string sender,
	bool expandExplanation = false
)

Parameters

ip  IPAddress
The IP address of the SMTP client that is emitting the mail
domain  String
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

Return Value

ValidationResult
The result of the evaluation

See Also