Table
SysEmailMessageTable
Email messages
Holds the text of an email template for each language. Each record is identified by the email ID and the language. The email ID links to the Emails table and the language links to the Languages table. The body can be stored as HTML or as XSLT.
- Table name
SysEmailMessageTable- Module
System administration- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
IdLanguageIdIdx- Replacement key
None- Key fields
EmailId, LanguageId- Model
ApplicationFoundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
EmailIdIdentifies the email template that this message text belongs to. | StringSysEmailId | Yes | SysEmailTable.EmailId | None |
LanguageIdLanguage of this version of the message. | String (7)LanguageId | No | LanguageTable.LanguageId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
LayoutTypeShows whether the message is laid out as HTML or as XSLT. | EnumSysEmailLayoutType (enum) | No | None | |
MailBody text of the email message, used when the layout is HTML. | String (-1)SysEmailContents | 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 | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SubjectSubject line of the email message. | 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 | |
XSLTMailBody contents of the message, used when the layout is XSLT. | String (-1)SysEmailContents | No | None |
Indexes (1)
IdLanguageIdIdxPrimary indexUnique, alternate key.
Relations (2)
Each relation joins SysEmailMessageTable to another table on the fields shown.
LanguageTable→LanguageTableJoin on
LanguageId = LanguageTable.LanguageId,LanguageTable.LabelFile = 1Many SysEmailMessageTable records → zero or one LanguageTable record
SysEmailTable→SysEmailTableJoin on
EmailId = SysEmailTable.EmailIdMany SysEmailMessageTable records → exactly one SysEmailTable record
Get this data out
No public entity reads from SysEmailMessageTable. Its data is only reachable through the application, a custom entity or a database export.
Need help with SysEmailMessageTable in a report, an integration or a migration? Talk to Dr Dynamics.