Platform SDK: CDO 1.2.1

Type Property (AddressEntry Object)

The Type property specifies the address type, such as SMTP, FAX, or X400. Read/write.

Syntax

objAddressEntry.Type

Data Type

String

Remarks

The address type is usually a tag referring to the messaging system that routes messages to this address, such as SMTP or FAX.

The AddressEntry object's Address and Type properties can be combined to form the full address, the complete messaging address that appears in the Recipient object's Address property using the following syntax:

    AddressType:AddressValue

The value of the Type property is not checked by CDO, but it should contain a string recognized and supported by the address book providers invoked by the current profile. For example, the Microsoft® Exchange private address book (PAB) provider supports a Type value of MAPIPDL to denote a private distribution list (PDL).

The Type property corresponds to the MAPI property PR_ADDRTYPE. It can be rendered into HTML hypertext using the CDO Rendering ObjectRenderer object. To specify this, set the object renderer's DataSource property to this AddressEntry object and the property parameter of the RenderProperty method to CdoPR_ADDRTYPE.

Example

See the example for the AddressEntry object's Address property.