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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
EmailItemIdUnique ID of the outgoing email. | Int64SysEmailItemId | Yes | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
IsSystemEmailYes or no flag showing whether the email is a system email. | EnumNoYesIdNoYes (enum) | No | None | |
LastErrorMessageText of the last error from a failed send attempt. | String (-1) | No | None | |
LatestStatusChangeDateTimeDate and time of the last change to the email status. | UtcDateTimeSysStatusChangeDateTime | No | None | |
MessageThe body text of the email. | String (-1)SysEmailContents | No | None | |
NextRetryDateTimeDate and time of the next attempt to send the email. | UtcDateTimeSysRetryDateTime | No | None | |
OriginShort text that describes where the email comes from. | String (32)SysEmailDescriptionType | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriorityPriority of the email: low, normal or high. | EnumeMailPriority (enum) | No | None | |
ProcessorIDGUID of the processor that handles the email. | GuidSysEmailProcessorId | 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 | |
RecipientThe recipients of the email. | String (255)SysEmailRecipients | Yes | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RetryNumRetry delay setting for sending, shown with the label Delay period.low confidence | IntegerSysEmailRetryNum | No | None | |
SenderEmail address of the sender. | String (80)Email | Yes | None | |
SenderNameName of the sender. | String (60)Name | No | None | |
SessionIdID of the session in which the email was created. | IntegerSessionId | No | None | |
SessionLoginDateTimeStart date and time of the session. | UtcDateTimeSysSessionLoginDateTime | No | None | |
StatusSending status of the email, such as unsent, sent, failed or expired. | EnumSysEmailStatus (enum) | Yes | None | |
SubjectThe subject 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 | |
TemplateIdThe email template used. It points to the emails table. | StringSysEmailId | No | SysEmailTable.EmailId | None |
UserIdThe user linked to the email. It relates to the user table. | StringUserId | Yes | None | |
WithRetriesYes or no flag showing whether sending is retried. | EnumNoYesIdNoYes (enum) | No | None |
Indexes (2)
EmailIdxPrimary indexReplacement keyUnique, alternate key.
StatusIdxUnique.
Relations (2)
Each relation joins SysOutgoingEmailTable to another table on the fields shown.
SysEmailTable→SysEmailTableJoin on
TemplateId = SysEmailTable.EmailIdMany SysOutgoingEmailTable records → zero or one SysEmailTable record
UserInfo→UserInfoJoin on
UserId = UserInfo.idMany 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.