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


SMTP commands

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

This topic describes the SMTP commands as listed in Table 1.

Table 1. SMTP commands
Subcommand Description See
DATA Define the following information as data. DATA command—Define the following information as data
EXPN Verify if a mailbox exists on the local host. EXPN command—Verify whether a mailbox exists on the local host
HELO Identify the domain name of the sending host to SMTP. HELO command—Identify the domain name of the sending host to SMTP
HELP Get help with SMTP commands. HELP command—Get help with SMTP commands
MAIL FROM Specify the sender of the mail. MAIL FROM command—Specify the sender of the mail
NOOP Return a 250 OK return code when SMTP is responding. NOOP command—Return a 250 OK return code when SMTP is responding
QUEU Get information about mail queued at SMTP for delivery. QUEU command—Get information about mail queued at SMTP for delivery
QUIT End an SMTP connection. QUIT command—End an SMTP connection
RCPT TO Specify the recipients of the mail. RCPT TO command—Specify the recipients of the mail
RSET Reset the SMTP connection to the initial state. RSET command—Reset the SMTP connection to the initial state
TICK Insert an identifier into the batch SMTP response data set. TICK command—Insert an identifier into the batch SMTP response data set
VERB Enable or disable verbose mode.
Note: VERB ON can cause spool problems for SMTP if the REPLY TO: user is not a valid NJE node user.
VERB command—Enable or disable verbose mode
VRFY Verify if a mailbox exists on the local host. VRFY command—Verify whether a mailbox exists on the local host
Restrictions:
  • If the DISALLOWCMD statement was used, the server will not support the EXPN, HELP, QUEU, VERB, and VRFY commands.
  • The TSO SMTP command uses the Pascal socket API, so VMCF must be started for the command to be successful. If the SMSG SMTP command is invoked and VMCF is not active, the following message is issued to the terminal of the TSO user: EZY2040I SMSG: VMCF is not active on the system.

Data sets containing SMTP commands can be written to the JES spool as SYSOUT data sets. These SYSOUT data sets contain either punch or NETDATA records. Data sets originate from users on the same system as the SMTP address space or from users on any system connected to the host system through an NJE network.

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 ).