NewMailMessage Object

The NewMailMessage object allows the sending of email messages using the MAPI interface of the user's registered email application. The NewMailMessage object supports full addressing and attachment capabilities. This functionality is the same as the Send to Mail Recipient command in the Meridian client.

ClosedNewMailMessage Object Properties

The NewMailMessage object provides the following properties.

ClosedAttachments Property

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

Syntax

Attachments As IASMailAttachments

ClosedNoteText Property

The body text of the current message.

Syntax

NoteText As String

ClosedOriginator Property

An object that represents the originator of the message.

Syntax

Originator As IASMailRecipient

ClosedRecipients Property

A collection of recipients of the current message.

Syntax

Recipients As IASMailRecipients

ClosedSubject Property

The subject text of the current message.

Syntax

Subject As String

ClosedNewMailMessage Object Methods

The NewMailMessage object provides the methods described below.

ClosedClean Method

Clears all NewMailMessage object properties.

Syntax

Clean()

Parameters

This method accepts no parameters.

ClosedSend Method

Sends the current NewMailMessage object.

Syntax

Send(Flags As Long)
Parameters
Name Description

Flags

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

2022 R2