Fullscreen Image

This section covers Meridian Enterprise 2026. View other versions.

MailRecipient Object

The MailRecipient object represents a recipients of an email message. The MailRecipient object is available to the current MailRecipients collection.

MailRecipient Object Properties

The MailRecipient object provides the following properties.

ClosedAddress Property

The email address of the recipient.

Syntax

Address As String

Remarks

The Name property should be used to specify the recipient's email address and either an empty string or no value set in the Address property. If an email address is specified in Name, it must be surrounded with carets (<>). When used with Microsoft Outlook, the Name property may contain the user's full name or last name and Outlook will attempt to resolve the name to the email address in the default address book.

ClosedName Property

Returns the name of the current object. Depending on the object type, this property returns the display name of the object or it returns the internal name and may be read-only.

Syntax

Name As String

Remarks

If the current object is a Package, it must be in the Open status to set the value.

If the current object is a User, this property is the short name of the user as stored in the user's Meridian account information and is read-only. This property can be used to specify the recipient's email address and either an empty string or no value set in the Address property. If an email address is specified in Name, it must be surrounded with carets (<>). When used with Microsoft Outlook, the Name property may contain the user's full name or last name and Outlook will attempt to resolve the name to the email address in the default address book.

Meridian user names can be shown in different formats determined by the UserNameFormatserver registry setting.

ClosedType Property

The type of recipient as one of the AS_MAPIMSG_RECIP_TYPE constants.

Syntax

Type As AS_MAPIMSG_RECIP_TYPE