Domain Property  
 

Gets and sets the local domain name.

Syntax

object.Domain [= value ]

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