Jaa


CheckIncomingEmailResponse.ReasonCode Property

Definition

Gets the reason for the result in the ShouldDeliver property.

public:
 property int ReasonCode { int get(); };
public int ReasonCode { get; }
member this.ReasonCode : int
Public ReadOnly Property ReasonCode As Integer

Property Value

The reason for the failure.

Remarks

The reason code is one of these values:

FieldValueDescription
Unknown-1 Specifies an unknown reason.
Duplicate0Specifies a duplicate e-mail message.
NoCorrelationMatch1 Specifies that the Dataverse CorrelationToken is present on the subject line but does not map to anything in Dataverse.
CorrelationMatch2 Specifies that the Dataverse CorrelationToken on the subject line maps to a value in Dataverse.
NoRecipientMatch3Specifies that none of the recipients are users in Dataverse.
InternalEmailReject4Email delivery determined that the e-mail is internal communication and the e-mail will be rejected.
SenderMatch5Email accepted because of the sender.
AcceptAll6A recipient accepts all emails.
InvalidSender7The sender email address could not be found or is invalid.

Applies to