Magidoc

SpfResult
Object

SPF (Sender Policy Framework) record verification result for email authorization

Fields

#

currentRecord

The current SPF record found during verification

errorMessage

Non-null

DNS error message if an error occurred, otherwise 'No Error'

hasError

Non-null

Indicates whether a DNS error occurred during the SPF lookup

hasTarvent

Non-null

Indicates whether the SPF record includes Tarvent's SPF (include:spf.trvt.io)

isNative

Non-null

Indicates whether the SPF record is native to the domain (not resolved through a CNAME chain)

isRoot

Non-null

Indicates whether the domain where the record was found is a root/apex domain (cannot use CNAME at root)

policy

Non-null

The SPF policy mechanism (e.g., ~all, -all, ?all)

recordDomain

Non-null

The domain where the SPF record was found (may differ from the checked domain if resolved through CNAME or parent domain)

status

Non-null

Verification status: Valid if SPF includes Tarvent's SPF record, Invalid otherwise

suggestedRecord

The recommended SPF record configuration

Usages

#

References

#