Поделиться через


CheckIncomingEmailResponse.ReasonCode Property

 

Applies To: Dynamics CRM 2015

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:
property int ReasonCode {
    int get();
}
member ReasonCode : int with 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 CRM CorrelationToken is present on the subject line but does not map to anything inCRM.

CorrelationMatch

2

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

NoRecipientMatch

3

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

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

© 2016 Microsoft. All rights reserved. Copyright