Domain Property

Gets and sets the local domain name.

Syntax

object.Domain [= value]

The Domain property syntax has the following parts:

Part Description
object An object expression that evaluates to an InternetMail object.
value A string which specifies the local domain name.

Remarks

The Domain property specifies the domain name of the local host, and is used to identify the current system when sending messages. If this property is not defined, then the local host name will be used.

Note that explicitly setting the Domain property to a value that does not match your local host name may cause some mail servers to reject any messages that you attempt to send.

Data Type

String


Copyright © 2008 Catalyst Development Corporation. All rights reserved.