Click or drag to resize

Message Class

Holds all information about a Message for sending and retrieving
Inheritance Hierarchy
SystemObject
  MedTunnelMsg.ModelsMessage

Namespace:  MedTunnelMsg.Models
Assembly:  MedTunnelMsg (in MedTunnelMsg.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Message

The Message type exposes the following members.

Properties
  NameDescription
Public propertyAllRecipients
List of Recipient objects for the message recipients
Public propertyAttachmentCount
Number of attachments included in the message
Public propertyAttachmentNames
Array of Attachment objects
Public propertyBody
Message text
Public propertyBodyHistory
Message history. Will be populated when a message is replied to
Public propertyDateReceived
Date the message was received
Public propertyDisplayDateReceived
Display formatted of the date the message was received
Public propertyDistributionListId
Internal Distribution List Id if this message was sent to a Distribution List
Public propertyDistributionListName
Distribution List Name if this message was sent to a Distribution List
Public propertyEmailAddress
Recipient's email address
Public propertyFromMailBoxId
Internal Mailbox Id where the message originated from
Public propertyFromUserAccountName
Name of the Account the message was sent from
Public propertyFromUserAccountTitle
Description of the Account the message was sent from
Public propertyFromUserFullName
Sender's full name
Public propertyFromUserId
Internal MedTunnel Id of the sender
Public propertyFromUserName
Senders MedTunnel Id
Public propertyFromUserType
The User Type Id of the sender
Public propertyId
Internal message id
Public propertyParentMessageId
Internal Message Id of the message's parent message
Public propertyPassword
Password required to view the message
Public propertyPatientMedTunnelId
If sent by a patient this will be theit MedTunnel Id
Public propertyReadReceiptCallbackUrl
When a message is first read a callback will be made to this url
Public propertySendGlobalNotifications
Public propertyStatus
Message status
Public propertySubject
Not used
Public propertyToUserFullName
Recipient's full name
Public propertyToUserId
Internal User Id of the recipient
Public propertyToUserMailboxId
Internal Mailbox Id of the recipient
Public propertyToUserName
Recipient's MedTunnel Id
Public propertyToUserType
The User Type Id of the recipient
Public propertyViewCount
Number of times the message has been viewed
Public propertyViewedOn
Last date the message was viewed
Top
See Also