|  | MailMessage Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: SanteDB.Core.Mail
 Syntax
SyntaxThe MailMessage type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | MailMessage | 
            Initializes a new instance of the MailMessage class.
             | 
|  | MailMessage(String, String, String, String, MailMessageFlags) | 
            Initializes a new instance of the MailMessage class
            with a specified from, to, subject, body, and alert message flags.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | BatchOperation | 
            Gets or sets the operation
            (Inherited from IdentifiedData.) | 
|  | Body | 
            Gets or sets the alert body of the alert.
             | 
|  | CreatedBy | 
            Gets or sets the user that created this base data
            (Inherited from BaseEntityData.) | 
|  | CreatedByKey | 
            Gets or sets the security provenance object which represents the creation of this object
            (Inherited from BaseEntityData.) | 
|  | CreationTime | 
            Gets or sets the time at which the data was created
            (Inherited from BaseEntityData.) | 
|  | CreationTimeXml | 
            Gets or sets the creation time as an ISO date format
            (Inherited from BaseEntityData.) | 
|  | DateTimeXml | 
            Gets or sets the time of the alert.
             | 
|  | Flags | 
            Gets or sets the status of the alert.
             | 
|  | From | 
            Gets or sets the "from" subject if it is a human based message of the alert.
             | 
|  | IsDelayLoadEnabled | 
            True if the class is currently loading associations when accessed
            (Inherited from IdentifiedData.) | 
|  | Key | 
            Gets or sets the primary identifying UUID of this object
            (Inherited from IdentifiedData.) | 
|  | LoadState | 
            Gets or sets whether the object was partial loaded
            (Inherited from IdentifiedData.) | 
|  | ModifiedOn | 
            Gets or sets the time this was modified on
            (Overrides NonVersionedEntityDataModifiedOn.) | 
|  | ObsoletedBy | 
            Gets or sets the user that obsoleted this base data
            (Inherited from BaseEntityData.) | 
|  | ObsoletedByKey | 
            Gets or sets the security provenance object which represents the obsoletion of this data
            (Inherited from BaseEntityData.) | 
|  | ObsoletionTime | 
            Gets or sets the time when the data is or will become invalid
            (Inherited from BaseEntityData.) | 
|  | ObsoletionTimeXml | 
            Gets or sets the time that the data is no longer valid (was deleted/obsoleted) in ISO format
            (Inherited from BaseEntityData.) | 
|  | RcptTo | 
            Receipt to
             | 
|  | RcptToXml | 
            The recipient users used for query
             | 
|  | Subject | 
            Gets or sets the subject of the alert.
             | 
|  | Tag | 
            Gets a tag which changes whenever the object is updated
            (Inherited from IdentifiedData.) | 
|  | TimeStamp | 
            Date/time of the alert
             | 
|  | To | 
            Gets or sets the recipient of the alert in a human readable form
             | 
|  | Type | 
            Gets the type registration of this object
            (Inherited from IdentifiedData.) | 
|  | UpdatedBy | 
            Gets or sets the user that updated this base data
            (Inherited from NonVersionedEntityData.) | 
|  | UpdatedByKey | 
            Gets or sets the provenance identifier associated with the last update of this object
            (Inherited from NonVersionedEntityData.) | 
|  | UpdatedTime | 
            Updated time
            (Inherited from NonVersionedEntityData.) | 
|  | UpdatedTimeXml | 
            Gets or sets the time that this object was last modified in ISO format
            (Inherited from NonVersionedEntityData.) | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | AddAnnotation | 
            Add an annotated object
            (Inherited from IdentifiedData.) | 
|  | Clone | 
            Clone this object
            (Inherited from IdentifiedData.) | 
|  | CopyAnnotations | 
            Copy annotations from another resource
            (Inherited from IdentifiedData.) | 
|  | DeepCopy | 
            Provide a deep copy of the specified data
            (Inherited from IdentifiedData.) | 
|  | DelayLoadTEntity | 
            Get associated entity
            (Inherited from IdentifiedData.) | 
|  | Equals | Determines whether the specified object is equal to the current object.(Inherited from Object.) | 
|  | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) | 
|  | GetAnnotationsT | 
            Get annotations of specified T(Inherited from IdentifiedData.) | 
|  | GetHashCode | Serves as the default hash function.(Inherited from Object.) | 
|  | GetLocked | 
            Clone the specified data
            (Inherited from IdentifiedData.) | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | IsEmpty | 
            Determines w
            (Inherited from IdentifiedData.) | 
|  | MemberwiseClone | Creates a shallow copy of the current Object.(Inherited from Object.) | 
|  | RemoveAnnotation | 
            Remove annotation
            (Inherited from IdentifiedData.) | 
|  | SemanticEquals | 
            Determines the semantic equality of this object an obj(Inherited from IdentifiedData.) | 
|  | ShouldSerializeBatchOperation | 
            Should serialize batch operation
            (Inherited from IdentifiedData.) | 
|  | ShouldSerializeCreatedByKey | 
            True if key should be serialized
            (Inherited from BaseEntityData.) | 
|  | ShouldSerializeKey | 
            True if key should be serialized
            (Inherited from IdentifiedData.) | 
|  | ShouldSerializeModifiedOn | 
            Never serialize modified on
            (Inherited from IdentifiedData.) | 
|  | ShouldSerializeObsoletedByKey | 
            True if key should be serialized
            (Inherited from BaseEntityData.) | 
|  | ShouldSerializeUpdatedByKey | 
            True if key should be serialized
            (Inherited from NonVersionedEntityData.) | 
|  | ToDisplay | 
            To display value
            (Inherited from IdentifiedData.) | 
|  | ToString | 
            Represent the data as a string
            (Inherited from BaseEntityData.) | 
 Fields
Fields| Name | Description | |
|---|---|---|
|  | m_annotations | 
            A list of custom tags which were added to this object
            (Inherited from IdentifiedData.) | 
 Extension Methods
Extension Methods| Name | Description | |
|---|---|---|
|  | ConvertTReturn | 
            The purpose of this method is to convert object me to TReturn. Why?
            Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
            so we have to copy.
            (Defined by ExtensionMethods.) | 
|  | GetInstanceOfTDomain | 
            Gets an instance of TDomain from me
            (Defined by ModelExtensions.) | 
 See Also
See Also