Compartir a través de


CheckIncomingEmailResponse.ReasonCode Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets the reason for the result in the ShouldDeliver property.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

public int ReasonCode { get; }
Public ReadOnly Property ReasonCode As Integer

Property Value

Type: System.Int32

Type: Int32
The reason for the failure.

Remarks

The reason code is one of these values:

Field

Value

Description

Unknown

-1

Specifies an unknown reason.

Duplicate

0

Specifies a duplicate e-mail message.

NoCorrelationMatch

1

Specifies that the Microsoft Dynamics 365CorrelationToken is present on the subject line but does not map to anything inDynamics 365.

CorrelationMatch

2

Specifies that the Microsoft Dynamics 365CorrelationToken on the subject line maps to a value in Dynamics 365.

NoRecipientMatch

3

Specifies that none of the recipients are users in Microsoft Dynamics 365.

InternalEmailReject

4

Email delivery determined that the e-mail is internal communication and the e-mail will be rejected.

SenderMatch

5

Email accepted because of the sender.

AcceptAll

6

A recipient accepts all emails.

InvalidSender

7

The sender email address could not be found or is invalid

See Also

CheckIncomingEmailResponse Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright