Table

SysOutgoingEmailTable

Outgoing email

Holds emails that the system sends, one row per email, keyed by email ID. It stores sender, recipients, subject, content, status and retry details. It links to email templates and users.

Table name
SysOutgoingEmailTable
Module
System administration
Table group
Transaction
Table type
Regular
Data per company
No
Configuration key
None
Primary index
EmailIdx
Replacement key
EmailIdx
Key fields
EmailItemId
Model
ApplicationFoundation

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
EmailItemIdUnique ID of the outgoing email.Int64
SysEmailItemId
YesNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
IsSystemEmailYes or no flag showing whether the email is a system email.Enum
NoYesId
NoYes (enum)
NoNone
LastErrorMessageText of the last error from a failed send attempt.String (-1)NoNone
LatestStatusChangeDateTimeDate and time of the last change to the email status.UtcDateTime
SysStatusChangeDateTime
NoNone
MessageThe body text of the email.String (-1)
SysEmailContents
NoNone
NextRetryDateTimeDate and time of the next attempt to send the email.UtcDateTime
SysRetryDateTime
NoNone
OriginShort text that describes where the email comes from.String (32)
SysEmailDescriptionType
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriorityPriority of the email: low, normal or high.Enum
eMailPriority (enum)
NoNone
ProcessorIDGUID of the processor that handles the email.Guid
SysEmailProcessorId
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
RecipientThe recipients of the email.String (255)
SysEmailRecipients
YesNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RetryNumRetry delay setting for sending, shown with the label Delay period.low confidenceInteger
SysEmailRetryNum
NoNone
SenderEmail address of the sender.String (80)
Email
YesNone
SenderNameName of the sender.String (60)
Name
NoNone
SessionIdID of the session in which the email was created.Integer
SessionId
NoNone
SessionLoginDateTimeStart date and time of the session.UtcDateTime
SysSessionLoginDateTime
NoNone
StatusSending status of the email, such as unsent, sent, failed or expired.Enum
SysEmailStatus (enum)
YesNone
SubjectThe subject 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
TemplateIdThe email template used. It points to the emails table.String
SysEmailId
NoSysEmailTable.EmailIdNone
UserIdThe user linked to the email. It relates to the user table.String
UserId
YesNone
WithRetriesYes or no flag showing whether sending is retried.Enum
NoYesId
NoYes (enum)
NoNone

Indexes (2)

Relations (2)

Each relation joins SysOutgoingEmailTable to another table on the fields shown.

  • SysEmailTable → SysEmailTable

    Join on TemplateId = SysEmailTable.EmailId

    Many SysOutgoingEmailTable records → zero or one SysEmailTable record

  • UserInfo → UserInfo

    Join on UserId = UserInfo.id

    Many SysOutgoingEmailTable records → exactly one UserInfo record

Get this data out

No public entity reads from SysOutgoingEmailTable. Its data is only reachable through the application, a custom entity or a database export.

Need help with SysOutgoingEmailTable in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk