MailMessage Object

The MailMessage object represents an email message. The MailMessage object is available to the Briefcase object.

ClosedMailMessage Object Properties

The MailMessage object provides the following properties, most of which are read-only. To affect some read-only properties requires user interaction or custom event procedures.

ClosedAttachments Property

A collection of attachments for the current message. Read-only.

Syntax

Attachments As IASAttachments

ClosedNoteText Property

The body text of the current message.

Syntax

NoteText As String

ClosedOriginator Property

An object that represents the originator of the current message. Read-only.

Syntax

Originator As IASMailRecipient

ClosedRecipients Property

A collection of recipients of the current message. Read-only.

Syntax

Recipients As IASMailRecipients

ClosedSubject Property

The subject text of the current message.

Syntax

Subject As String

ClosedMailMessage Object Methods

The MailMessage object methods affect the current MailMessage object. They are described below.

ClosedClean Method

Removes all properties from the current MailMessage object.

Syntax

Clean()

Parameters

This method accepts no parameters.

ClosedSend Method

Sends the current MailMessage object.

Syntax

Send(Flags As Long)
Parameters
Name Description

Flags

A combination of one or more AS_MAPIMSG_SEND_FLAGS constants. Read-only.

2024