AddressEntry Object

Parent object: Message object.

An object reference is obtained through the Sender Property of a Message object.

Represents information about the sender of a specific Message object, including the sender's email address, name, and email address type. You can obtain a reference to the AddressEntry object only from the Message object's Sender property. The properties of the AddressEntry object are shown in Table 15.3; the properties are all read-only.

Table 15.3. AddressEntry Object Properties

Property

Description

Address

A string value representing the information required to send email to the person or process represented by the current AddressEntry object.

Name

A string value representing the alias or display name for the person represented by the current AddressEntry object.

Type

A string value that identifies the sender's messaging service. For the current version of CDO for NTS, the Type property always holds the string "SMTP."

Get ASP in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.