InboundEmail.AuthenticationResult Class
Contains the authentication type and response for inbound emails.
The following are constructors for InboundEmail.AuthenticationResult.
-
InboundEmail.AuthenticationResult()
Creates a new instance of the
Messaging.InboundEmail.AuthenticationResultclass.
Creates a new instance of the Messaging.InboundEmail.AuthenticationResult class.
public InboundEmail.AuthenticationResult()
The following are properties for InboundEmail.AuthenticationResult.
-
Additional information in authentication result headers. Examples include:
name: smtp.mailfromandvalue: example.com. -
The authentication method used for the security check. Possible values include
dkim,dmarc, orspf. -
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
passorfail. Otherwise, the value returned isnone.
Additional information in authentication result headers. Examples include: name: smtp.mailfrom and value: example.com.
public InboundEmail.AuthenticationResultField[] authenticationResultFields {get; set;}
Type: InboundEmail.AuthenticationResultField[]
The authentication method used for the security check. Possible values include dkim, dmarc, or spf.
public String method {get; set;}
Type: String
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.
public String result {get; set;}
Type: String