Purpose
Use the SMTPNOTE command to send
electronic mail to one or more recipients on NJE or TCP networks.
Format
>>-SMTPNOTE--+----------------------+--------------------------->
'-To-- (--recipient--)-'
>--+----------------------+--+-------------------------+-------->
+-Cc-- (--recipient--)-+ '-Subject-- (--subject--)-'
'-NOCc-----------------'
>--+------------------------------------------+----------------><
+-Dataset-- (--data_set_name--)--+-------+-+
| '-Batch-' |
'-Reuse------------------------------------'
Note: The minimum abbreviation for each parameter
is shown in uppercase letters.
Parameters
- To (recipient)
- Specifies a single recipient for the mail. If you do not specify
the To parameter, you are prompted to enter a list of recipients.
Enter the name of each recipient on a separate line and end the list
with a blank line. You must specify at least one mail recipient.
- Cc (recipient)
- Specifies a single copy recipient for the mail. If you do not
specify the Cc parameter and you do not specify the NOCc or Batch
parameters, you are prompted to enter a list of copy recipients.
If there are no recipients, press Enter. Otherwise, enter the name
of each recipient on a separate line and end the list with a blank
line.
- NOCc
- Specifies that no prompting for Cc takes place.
- recipient
- Specifies the path address of the mail recipient. The format of recipient is equivalent to the path syntax, as
described in RFC 821, without the (<) and (>) delimiters.
See Related protocol specifications for information about obtaining
RFCs. This recipient parameter has one of
the following formats:
- user_id@host_name
- User on a host in your domain, possibly on your local node.
- user_id@host_name .domain
- User on a host in a specified domain.
- user_id%nje_host_name@ gateway_name.domain
- User on an NJE or RSCS node connected to a TCP network at gateway_name. See Electronic mail gateway for more information.
- @host1,@host2,...,@hostn :user_id @host_name
- User on a host that is not known by the local Domain Name server,
but that can be reached by following the path from host1 to hostn.
- Subject (subject)
- Specifies the subject of the note. If you do not specify the Subject
parameter, you are prompted for the subject.
If there is no subject
for the note, press Enter. If Subject is specified as a keyword, you
cannot have embedded blanks. Otherwise, the subject can be any arbitrary string of characters, but is limited
to a total length of 233 characters.
- Batch
- Specifies that no prompting take place. You must also specify
the To and Dataset parameters.
- Dataset (data_set_name)
- Indicates that the text of the mail is contained in a sequential
data set. The data set can have any record format, be blocked or unblocked,
and have records of up to 243 characters in length. The data_set_name is the name of the sequential data set
containing the text of the note. It must be a valid data set name,
and is fully qualified if it is contained within single quotation
marks (').
- Reuse
- Causes SMTP to reuse the contents of a note that was previously
canceled. If a note was not canceled, the Reuse parameter is ignored.
Usage
- When the To(), Cc(), Subject(), or Dataset() parameters are specified
more than once, the last value specified is the one used by SMTPNOTE.
No error messages are generated for duplicate parameters on the command
line.
- SMTPNOTE no longer requires quotation marks around blanks, single
quotation marks, semicolons, or commas, or triple quotation marks
around data set names.
- Do not use extended attribute data sets (PDSE) with SMTPNOTE.