The EMAILX configuration file is designed to contain those parameters which are most likely to be user-definable yet constant for a given site or application. The file is normally called EMAILX.CFG, although you specify the name (and location; there is no search path) yourself in the XCALL EMAILX statement. The file is a typical text configuration file, and it uses this syntax:
<parameter name> = <value> ; <optional comment>
Parameters
|
Parameter |
Description |
|
Maximum wait for SMTP response | |
|
SMTP server name | |
|
HELO (sending domain) | |
|
Domain to add to unqualified addresses | |
|
Return address | |
|
Default reply-to address | |
|
Signature file | |
|
Log file name | |
|
Log level |
Sample
;EMAILX.SBX configuration file
WAIT = 10
SERVER = localhost
HOST = microsabio.com
DOMAIN = microsabio.com
RTNADDR = ashell@microsabio.com
REPLYTO = replyto@microsabio.com
SIGNATURE = EMAILX.SIG
LOGFILE = EMAILX.LOG
LOGLVL = 3