mailMessage object

The mailMessage object is a system structure containing information about a specific mail message. A mailMessage object has no events.

Properties

mailMessage property

Datatype

Description

AttachmentFile[ ]

mailFileDescription

Specifies the file attachment for the current message. A mailFileDescription array contains information about an attachment file.

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

ConversationID

String

Specifies the conversation thread ID for the current message.

DateReceived

String

Indicates the date on which the current message was received.

MessageSent

Boolean

Indicates whether the current message has been sent to the mail server. (Read-only at runtime only.)

TRUE -- Message has been sent to mail server.

FALSE -- Message has not yet been sent.

MessageType

String

Indicates the type of the current message. A value other than null or an empty string indicates use by an application other than interpersonal mail. (Runtime only.)

NoteText

String

Specifies the content of the message body. (Runtime only.)

ReceiptRequested

Boolean

Indicates whether a return receipt is requested for the current message. (Runtime only.)

TRUE -- Return receipt requested.

FALSE -- Return receipt not requested.

Recipient[ ]

mailRecipient

Specifies the recipient of the current message. For mailSend, mailOriginator! is not a valid value for the Recipient property. The valid values are mailto!, mailcc!, and mailbcc!. To specify that the sender receive a copy of the message, use mailcc!.

Subject

String

Specifies the subject line, displayed in the message header, for the current message.

Unread

Boolean

Indicates whether or not the message has been read. (Read-only at runtime only.)

TRUE -- Message has not been read.

FALSE -- Message has been read.


Functions

mailMessage function

Datatype returned

Description

ClassName in PowerScript Reference

String

Returns the class of the object

GetContextService in PowerScript Reference

Integer

Creates a reference to a context-specific instance of the specified service

GetParent in PowerScript Reference

PowerObject

Returns a reference to the name of the parent object

TypeOf in PowerScript Reference

Object

Returns the type of the object