RCPT TO command—Specify the recipients of the mail

Purpose

Use the RCPT TO command to specify mail recipients.

Format

Read syntax diagramSkip visual syntax diagram
>>-RCPT TO--: --<--recipient_path_address-->-------------------><

Parameters

recipient_path_address
Specifies the full path address of the mail recipient.
Note: The angle brackets (< >) surrounding recipient_path_address in the syntax diagram are required.

Usage

  • There is a limit on the number of RCPT TO commands that can be processed successfully on a single note. If you have more than 2000 RCPT commands you will receive a failure reply code
    552 Too many recipients
    In this situation an abend B37 still might occur if no more space is available on the volume or if the volume table of contents (VTOC) is full.
  • You can use the RCPT TO command only after a MAIL FROM command has been issued.
  • If the host system has never heard of the recipient host, the RCPT TO command receives a negative reply.
  • If a name server is used for domain name resolution, MX records are used to resolve the recipient IP address before trying A records.

Context

For more information about MX and A records, see the z/OS Communications Server: IP Configuration Guide.