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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CorrelationIdIdentifier used to link the email to telemetry.GuidNoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
IsO365Yes or No flag. Its exact meaning is not stated in the metadata.low confidenceEnum
NoYes (enum)
NoNone
LastErrorMessageText of the last failure message.String (-1)NoNone
MailerIdentifier of the email provider.String
SysMailerId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecipientEmail addresses of the recipients.String (255)
SysEmailRecipients
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SenderEmail address of the sender.String (80)
Email
NoNone
SentInteractivelyShows whether the email was sent interactively (Yes or No).Enum
NoYes (enum)
NoNone
StatusStatus of the email, such as Unsent, Sent or Failed.Enum
SysEmailStatus (enum)
NoNone
SubjectSubject line of the email.String (128)
SysEmailSubject
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

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.

Email sales@drdynamics.co.uk