Email (E-mail) Entity OptionSet Attribute Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The email entity contains a number of attributes with the underlying type of OptionSetMetadata. This includes attributes of type PicklistAttributeMetadata, StateAttributeMetadata, and StatusAttributeMetadata. This topic shows the values for these attributes in a default, uncustomized installation of Microsoft Dynamics CRM. For information on how to generate and use enumerations for these values in your code, see Helper Code: Enumerations for Option Sets.

OptionSet Values

The following table lists the attributes and option set values for the email entity.

LogicalName Type OptionValue OptionDescription

notifications

Picklist

0

None

Picklist

1

The message was saved as a Microsoft Dynamics CRM email record, but not all the attachments could be saved with it. An attachment cannot be saved if it is blocked or if its file type is invalid.

Picklist

2

Truncated body.

prioritycode

Picklist

0

Low

Picklist

1

Normal

Picklist

2

High

statecode

State

0

Open

State

1

Completed

State

2

Canceled

statuscode

Status

1

Draft

Status

2

Completed

Status

3

Sent

Status

4

Received

Status

5

Canceled

Status

6

Pending Send

Status

7

Sending

Status

8

Failed

Statecode to Statuscode Mapping

The following table shows the mapping between the default statecode and statuscode picklist values.

State State value Status Status value

Open

0

Draft

1

Completed

1

Completed

2

Completed

1

Sent

3

Completed

1

Received

4

Canceled

2

Canceled

5

Completed

1

Pending Send

6

Completed

1

Sending

7

Open Status

0

Failed

8

See Also

Concepts

Email (E-mail) Activity Entities
Email (E-mail) Entity Metadata
Email (E-mail) Entity Messages and Methods

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.