z/OS Communications Server: IP User's Guide and Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using the TSO TRANSMIT command to send a mail file

z/OS Communications Server: IP User's Guide and Commands
SC27-3662-00

Purpose

Use a TSO TRANSMIT (XMIT) command to send to the spool file a previously constructed mail file that contains SMTP commands to be processed by CSSMTP for one or more mail messages. See SMTP commands for more information about each SMTP command.

Examples

  1. Construct a mail file named MYCSSMTP.NOTE:
    HELO YOURMVS
    MAIL FROM:<CAROL@YOUR.MVSDOMAIN.COM>
    RCPT TO:<msgs@rsch.our.edu>
    RCPT TO:<alice@ai.our.edu>
    DATA
    Date: Thur, 26 Mar 92 21:48:57 EST
    From: Carol <CAROL@YOUR.MVSDOMAIN.COM>
    To:   <msgs@rsch.our.edu>
    Cc:   <alice@ai.our.edu>
    Subject: update
    
    Mike: Cindy stubbed her toe.  Bobby went to
               baseball camp.  Marsha made the cheerleading team.
               Jan got glasses.  Peter has an identity crisis.
               Greg made dates with 3 girls and couldn't
               remember their names.
    .
    QUIT

    ______________________________________________________

  2. Use the XMIT command to put the file userid.MYCSSMTP.NOTE into the JES spool data set:
    XMIT jesnode.cssmtp1 DA(userid.mycssmtp.note)
jesnode
The JES node name or host name.
cssmtp1
The external writer name if the ExtWrtName statement is specified in the CSSMTP application configuration file, or the CSSMTP application address space name if the ExtWrtName statement is not specified in the CSSMTP application configuration file.
userid.mycssmtp.note
The SMTP commands data set.
Note: If you send a member of a partitioned data set (PDS) using the TSO TRANSMIT command, the member must be converted to a sequential file. Use the SEQ option on the TSO TRANSMIT (XMIT) command as shown in the following example:
XMIT jesnode.cssmtp1 DA(pds(member)) SEQ
In this example, pds is the name of the partitioned data set and member is the name of the PDS member that is to be sent to the CSSMTP1 external writer name.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2013
This information center is Built on Eclipse™ ( www.eclipse.org ).