SpfStatus Enumeration

The result of an SPF check.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public enum SpfStatus

Remarks

The result of an SPF check, as defined by RFC 7208, Section 2.6.

MimeKit does not perform SPF checks, since they require information from the SMTP session. The result is supplied by the caller via SpfCheckResult.

Members

None 0 No SPF check was performed or no SPF record was published.
Neutral 1 The ADMD has explicitly stated that it is not asserting whether the IP address is authorized.
Pass 2 The client is authorized to inject mail with the given identity.
Fail 3 The client is not authorized to use the domain in the given identity.
SoftFail 4 The ADMD believes the host is not authorized but is not willing to make a strong policy statement.
TempError 5 The SPF verifier encountered a transient (generally DNS) error while performing the check.
PermError 6 The domain's published records could not be correctly interpreted.

See Also