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


Sending mail to a TCP network recipient

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

The following example shows sending mail from an NJE network host to two TCP network recipients. The NJE network is BITNET, and the NJE host is named YOURMVS. This batch SMTP data set is spooled to SMTP at OURMVS, which is running with the run-time arguments GATEWAY and NJEDOMAIN BITNET. OURMVS is a BITNET host and is also connected through a TCP network to the hosts rsch.our.edu and ai.our.edu.

HELO YOURMVS
MAIL FROM:<CAROL@YOURMVS>
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@YOURMVS>
To:   <msgs@rsch.your.edu>
Cc:   <alice@ai.your.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
Note: The date header must contain the time and the correct time zone. If the time zone is not present, then the time the e-mail is received on the remote side defaults to a time zone of GMT. See RFC 822 for the required syntax of this information.

SMTP rewrites the From: line to reflect that the mail has been transferred from an NJE network (in this case, BITNET) to a TCP network. The TCP network recipients receive:

From: carol <CAROL%YOURMVS.
BITNET@ourhost.our.edu>

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