Steps for creating mail on the JES spool data set for CSSMTP

This topic provides the minimum information that you need to create mail that can be processed and forwarded by CSSMTP.

Before you begin

You need to know the external writer name of the CSSMTP application that you want to process your mail data set. If the external writer name is not configured for CSSMTP using the ExtWrtName statement, then the default is the job name. For information about configuring the external writer name using the ExtWrtName statement, see z/OS Communications Server: IP Configuration Reference.

For more information about creating mail using CSSMTP commands, see z/OS Communications Server: IP User's Guide and Commands.

Procedure

Perform the following steps to create mail on the JES spool data set for CSSMTP:

  1. Set up JES so that CSSMTP can create, read, write, and purge data from the JES spool data set. See Steps for initial setup for CSSMTP.
  2. Set up the mail to conform to the standardized syntax for text messages that are sent across networks. Mail messages have an envelope and contents. Envelopes contain all necessary information to accomplish transmission and delivery of the mail message content. The fields in the envelope are in a standard format.
  3. Start of changeConfigure code page support.
    • Configure the code page of the input spool files with the TRANSLATE statement. The spool file must be written by using a code page that is supported by z/OS® Unicode Services. The default TRANSLATE code page is IBM®-1047.
    • Configure the code page used by the mail servers with the Charset parameter defined on the TargetServer statements. The default Charset code page is ISO8859-1.
    The spool file that contains the mail commands and body is recognized and translated by the Language Environment® iconv function to the following code pages:
    • The mail commands and headers are translated to EBCDIC (IBM-1047) for inspection by CSSMTP and then to the Charset code page before sending to the target server.
    • The mail body is translated to the Charset code page before sending to the target server.

    For information about Unicode Services, see z/OS Unicode Services User's Guide and Reference. For information about configuring the code page by using the Translate statement and the Charset parameter on the TargetServer statement, see z/OS Communications Server: IP Configuration Reference.

    End of change
  4. Set up the mail in one of the following formats:

    You must copy and customize the SMTPNOTE CLIST on every system where users can send mail with the SMTPNOTE command. For more information, see Steps for customizing the SMTPNOTE CLIST (optional).

Results

You know you are done when mail is on the JES spool data set ready to be processed by CSSMTP.