Catalyst Internet Mail .NET

InternetMail.Domain Property

Gets and sets the local domain name.

[Visual Basic]
Public Property Domain As String
[C#]
public string Domain {get; set;}

Property Value

A string value 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.

See Also

InternetMail Class | SocketTools Namespace