QAD 2017 Enterprise Edition > User Guides > System Administration > System Interface > Building an E-Mail System Interface > E-Mail Command Parameters
  
E-Mail Command Parameters
Command line parameter fields can store parameters or arguments to identify the type of data being passed to the command. The parameter is a prefix, which is followed by the type of data. The UNIX mailx command, for instance, requires that the subject of the message have a -s prefix, as in the following example:
mailx -s “test message”
E-Mail Definition Maintenance defines four parameters: Sender, Recipient, Subject, and Message Text File (or Message Text String). Use the message parameters required by your e-mail system. You can use either a text file or string or both, as needed.
The Sequence fields control the order in which the Sender, Recipient, Subject, and Message Text parameters appear in the command line. Some e-mail systems require these parameters in a specific order. If your system does not use one of the parameters, leaving both the Parameter and Sequence fields blank omits that parameter from the command line.
If you enter a parameter without a sequence, the parameter is not included on the command line. If you enter a sequence without a parameter, the system skips this parameter and creates the command.
The E-Mail Command field displays the system-built Path and Program Name, Parameters, and Sequence.
When you complete the setup for your e-mail system, you are prompted to send a test message. The default addressee is your log-on user ID. If you have not yet entered your e-mail address in User Maintenance, the system prompts you for an address.
Customizing Appearance of HTML E-Mail
If you are receiving e-mail in the form of standard MIME attachments, you can customize the appearance of HTML-based messages by modifying the style tag in the email.css cascading style sheet. This file is located in the InstallDir\src directory. You should move the file so that it can be found in the PROPATH.
You can modify color and font by updating the following values:
<style>
BODY { margin: 0; COLOR: #000000; FONT-FAMILY: Courier, Arial, Geneva, sans-serif; BACKGROUND-COLOR: #FFFFFE }
PRE { COLOR: #000000; FONT-FAMILY: Courier, Arial, Geneva, sans-serif; BACKGROUND-COLOR: #ffffee }
</style>