APLX Help
: System Classes
: Properties
: host
|
|
![]() |
The 'host' property |
Character Vector Valid for: GetMail, SendMail, APL (Child Task), System object GetMail and SendMailBefore you can use the GetMail or SendMail objects, you need to specify the internet address of the host you are using. For the GetMail object, this is the address of your POP3 server. For the SendMail object, it is the address of your SMTP server. You will probably also need a user name and password. The values to use will normally be supplied by your Internet Service Provider (ISP) or network administrator. The host address can be specified either as a domain name (such as 'pop3.myisp.com'), or directly as an internet node address (such as '168.9.211.53'). For example: M←'⎕' ⎕NEW 'GetMail' M.host←'pop3.supernet.com' M.user←'microapl' M.password←'secret' M.Open 0 APL (Child Task)If you are running a Client-Server implementation of APLX, you can use the host property of the APL object to specify on which machine the new APL task should run. There are three possibilities:
You must set the host property before calling the Open method, but you can read it back at any time. If you are not running a Client-Server implementation of APLX, the host property can only be an empty string. System ObjectFor the System object, the host property is read-only. It will be an empty string if the current APL task is running locally on the Client machine, or if you are not running a Client-Server implementation of APLX. It will be 'localhost' if the current APL task is running under an APLX Server on the same machine as the Client. Otherwise, it will be the IP address or host name of the Server on which the current APL task is running. |
|
APLX Help
: System Classes
: Properties
: host
|
Copyright © 1996-2010 MicroAPL Ltd