Table
SysEmailHistory
Email history
Holds a history of emails, with sender, recipients, subject and status. It also stores the last error message and a telemetry correlation ID. It has no key.
- Table name
SysEmailHistory- Module
System administration- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
ApplicationFoundation
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CorrelationIdIdentifier used to link the email to telemetry. | Guid | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
IsO365Yes or No flag. Its exact meaning is not stated in the metadata.low confidence | EnumNoYes (enum) | No | None | |
LastErrorMessageText of the last failure message. | String (-1) | No | None | |
MailerIdentifier of the email provider. | StringSysMailerId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecipientEmail addresses of the recipients. | String (255)SysEmailRecipients | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SenderEmail address of the sender. | String (80)Email | No | None | |
SentInteractivelyShows whether the email was sent interactively (Yes or No). | EnumNoYes (enum) | No | None | |
StatusStatus of the email, such as Unsent, Sent or Failed. | EnumSysEmailStatus (enum) | No | None | |
SubjectSubject line of the email. | String (128)SysEmailSubject | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Get this data out
No public entity reads from SysEmailHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with SysEmailHistory in a report, an integration or a migration? Talk to Dr Dynamics.