Configuration File

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

Wait

Maximum wait for SMTP response

Server

SMTP server name

Host

HELO (sending domain)

Domain

Domain to add to unqualified addresses

Rtnaddr

Return address

Replyto

Default reply-to address

Signature

Signature file

Logfile

Log file name

Loglvl

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