MailTemplate Class | 
Namespace: Omada.OE.Model
[SerializableAttribute] public class MailTemplate : ICloneable, IObjectWithDataVersion, IObjectWithId, IObjectWithGuid, IEntityObject, IObjectWithLastChangedInfo
The MailTemplate type exposes the following members.
| Name | Description | |
|---|---|---|
| MailTemplate | 
| Name | Description | |
|---|---|---|
| ChangedBy | ||
| ChangeTime | ||
| CreatedBy | ||
| CreateTime | ||
| DataObjectTypeId | 
            States the type of the object, that the mail is based on
            The type determines Which mail variable that can be used
              | |
| DataVersion | ||
| EventType | 
            Only used if ProcessReleated is true
            State the process eventtype that the template is used for
              | |
| Id | ||
| Message | ||
| Name | ||
| Number | ||
| Priority | 
            Mail priority
              | |
| ProcessRelated | 
            States whatever a template is process-relevant
              | |
| Subject | ||
| UId | 
| Name | Description | |
|---|---|---|
| Clone | ||
| CloneMailTempalte | 
            Clones the mail templaten and resets relevant ID's
              | |
| GetDefaultActivityAssignedMessageTemplate | ||
| GetDefaultMessageTemplate | ||
| GetPropertyVariableNumbers | 
            Returns the numbers for the properties, which are applied as variables in the template string.
              | |
| IsBodyHtml | 
            Returns true if the mail body is a HTML document
              | |
| PassesFilter | ||
| ResetAll | 
            Resets the ID's in the object.
              | |
| ToString | (Overrides ObjectToString.) | 
| Name | Description | |
|---|---|---|
| ToBool | 
            Converts object to boolean.
              (Defined by ObjectExtensions.) | |
| ToDateTime | 
            Converts object to DateTime.
              (Defined by ObjectExtensions.) | |
| ToInt | 
            Converts object to integer.
              (Defined by ObjectExtensions.) | 
| Name | Description | |
|---|---|---|
| IObjectWithDataVersion.GetDataVersion | ||
| IObjectWithGuid.GetGuid | ||
| IObjectWithId.GetId | ||
| IEntityObjectDataVersion | 
            The data version of an entity object is incremented every time it gets updated.
            If the entity object class embeds other objects (like a DataObjectType embeds a number of BaseProperty objects) 
            then the DataVersion is also "touched" when an embedded object changes.
              | |
| IEntityObjectId | 
            Unique id of the entity object within its entity type.
              |