Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

InboundEmail.AuthenticationResult Class

Contains the authentication type and response for inbound emails.

Namespace

Messaging

InboundEmail.AuthenticationResult Constructors

The following are constructors for InboundEmail.AuthenticationResult.

InboundEmail.AuthenticationResult()

Creates a new instance of the Messaging.InboundEmail.AuthenticationResult class.

Signature

public InboundEmail.AuthenticationResult()

InboundEmail.AuthenticationResult Properties

The following are properties for InboundEmail.AuthenticationResult.

authenticationResultFields

Additional information in authentication result headers. Examples include: name: smtp.mailfrom and value: example.com.

Signature

public InboundEmail.AuthenticationResultField[] authenticationResultFields {get; set;}

method

The authentication method used for the security check. Possible values include dkim, dmarc, or spf.

Signature

public String method {get; set;}

Property Value

Type: String

result

The result of the authentication check. When the email service is configured to verify the legitimacy of the sending server before processing a message, possible values include pass or fail. Otherwise, the value returned is none.

Signature

public String result {get; set;}

Property Value

Type: String