SpfCheckResult Constructor

Initialize a new instance of the SpfCheckResult class.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public SpfCheckResult(
	SpfStatus status,
	string domain,
	string? reason = null
)

Parameters

status  SpfStatus
The result of the SPF check.
domain  String
The domain that was checked.
reason  String  (Optional)
The reason for the result, if available.

Remarks

Creates a new SpfCheckResult.

Exceptions

ArgumentOutOfRangeException status is not a valid SpfStatus.
ArgumentNullException domain is .

See Also