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. The standard syntax for SMTP commands supported by CSSMTP is described in RFC 821 and RFC 2821. The standard syntax for mail message content supported by CSSMTP is described in RFC 822 and RFC 2822. 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. Configure the code page. The spool file must be written using a code page that is supported by z/OS® Unicode Services. The entire spool file that contains the mail commands and body is recognized and translated by the Language Environment® iconv function to the following code pages:
    • EBCDIC (IBM-1047) for inspection by CSSMTP
    • US ASCII (ISO8859-1) before sending to the target server

    The default code page is IBM-1047. For information about Unicode Services, see z/OS Unicode Services User's Guide and Reference. For information about configuring the code page using the Translate statement, see z/OS Communications Server: IP Configuration Reference.

  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.