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 | |
Type of secure connection. | |
SMTP authentication. | |
Username. | |
Password. | |
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 ; max wait (secs) for SMTP response
SERVER = localhost ; SMTP server
SECURE = STARTTLS ; use STARTTLS protocol
AUTH = * ; SMTP auth mode (LOGIN or PLAIN)
USERNAME = yo@micasa.com ; SMTP login username
PASSWORD = secret ; SMTP login password
HOST = microsabio.com ; HELO (sending domain)
DOMAIN = microsabio.com ; default domain to add to unqualified addrs
RTNADDR = ashell@microsabio.com ; return address (default FROM address)
REPLYTO = replyto@microsabio.com ; default Reply-To address
SIGNATURE = EMAILX.SIG ; signature file (text, amos or native spec)
LOGFILE = EMAILX.LOG ; log file name (amos or native)
LOGLVL = 3 ;