wodSmtpServer ActiveX Control - MyHostname Property
      
 

Description

Holds hostname of local computer.


Property type

A String value.  


Syntax

object.MyHostname [= value]



The MyHostname Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodSmtpServer.
value A String value.

Remarks

Here you can find short name of local computer, as defined in your network settings. There will be no domain information because your computer can be known completely different on external network, depending on your dial-up settings, local network settings, etc..

Although you can write to this property - it will not change your network settings. Changing this value will only affect information visible to users that connect to your server, when Smtp server needs to provide such info to users (such as reply on 'EHLO' or 'HELO' commands).

Usually, you might want to set this property to something meaningful and use it in GreetingMessage or GoodbyeMessage properties.