This documentation is archived and is not being maintained.

EmailDecisionReason Class (CrmHelpers)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

This class contains integer flags to set the CheckIncomingEmailResponse.ReasonCode field. Although the field may accept any value, these are the valid values.

This class does not need instantiation or initialization because the fields represent constant integer values. These values are intended to be used when setting entity property values.

The EmailDecisionReason class exposes the following members.

Unknown-1Specifies an unknown reason.
Duplicate0Specifies a duplicate e-mail message.
NoCorrelationMatch1Specifies that the Microsoft Dynamics CRM CorrelationToken is present on the subject line but does not map to  anything in Microsoft Dynamics CRM.
CorrelationMatch2Specifies that the Microsoft Dynamics CRM CorrelationToken on the subject line maps to a value in Microsoft Dynamics CRM.
NoRecipientMatch3Specifies that none of the recipients are users in Microsoft Dynamics CRM.


This class is in the helper code file SDK\Helpers\CS\CrmHelpers\enums.cs. This class can also be found in the assembly Microsoft.Crm.Sdk.dll.


Filename: enums.cs

See Also


© 2010 Microsoft Corporation. All rights reserved.