(Contents)(Previous)(Next)

Message Object

The Message object represents an OfficeTalk Meeting. This object may be obtained either via a call to session.NewMessage or by iterating message objects from a message list. This object provides access to the common object functionality.

Message Methods
Update Saves changes to this message
Delete Deletes the message
Value Gets the value of the passed in field/column name
Value= Sets the value of the passed in field/column name
AddRecipient Adds a single recipient to the message
AddAttachment Adds a file attachment to the message
MoveToFolder Moves the message to another folder
AddABRecipients Displays a Choose Recipients dialog box allowing you to add one or more recipients to the message. Each recipient is marked as To:
AddABRecipientsCC Displays a Choose Recipients dialog box allowing you to add one or more recipients to the message. Each recipient is marked as Cc:
GetToRecipientsStr Returns a string which is a comma separated list of the message's TO recipients.
GetCCRecipientsStr Returns a string which is a comma separated list of the message's CC recipients.
GetBCCRecipientsStr Returns a string which is a comma separated list of the message's BCC recipients.
Send Sends the mail message
SendAsNotification Sends the message as a simple notification
SendAsWYWONotification Sends the message as a While You Were Out notification
SendAsYNNotification Sends the message as a Yes/No Notification
SendAsResponseNotification Sends the message as a Response Notification
SenderAddress Returns a string which is the address of the sender of the message.
GetBody Gets the text of the body of the message.
GetBodyHTML Gets the body of the message in HTML format.
SetBody Sets the text of the message body.
Message Properties
Name Represents the message's subject
Subject Represents the message's subject
SentTime Represents the time when the message was sent.
ReceivedTime Represents the time when the message was received. This is not valid for sent messages.
LastEditedDate The date on which the message was last changed
CreationDate The date when the message was created
Urgent A read/write property which represents the urgent status of the message.
Available Fields
Name
Type
Description
Last Edited Date The date when this message was last changed
Name String The subject of this message
Subject String The subject of this message
Is Urgent Boolean True if this message is urgent
Has Attachment Boolean True if this message has one or more attachments
Sender String The sender of this message
Received date Date The date when this message was received. Applies only to received messages.
Received Time Date The date and time when this message was received. Applies only to received messages.
Receiver String The name of the receiver of this message
Sent date Date The date when this message was sent. Applies only to sent messages.
Sent Time Date The date and time when this message was sent. Applies only to sent messages.
More:

AddRecipient()

AddAttachment()

MoveToFolder()

AddABRecipients()

AddABRecipientsCC()

GetToRecipientsStr()

GetCCRecipientsStr()

GetBCCRecipientsStr()

Send()

SendAsNotification()

SenderAddress()

GetBody()

GetBodyHTML()

SetBody()


Next