Display message envelope and header information. Syntax READ [message-id[,...]] Command Qualifiers Defaults /ALL /NOALL /CHANNEL=name None /CONFIRM /NOCONFIRM /CONTENT /NOCONTENT
1 – Parameters
message-id[,...] A comma separated list of one or more message identification numbers shown with a previous DIRECTORY command. Ranges are allowed.
2 – Description
The READ command may be used to display envelope and header information for one or more queued messages. To also view the message content, use the /CONTENT qualifier. The messages to display are specified by their message identification numbers shown by the most recent DIRECTORY command. That number appears in the leftmost column of the DIRECTORY command listing. Ambiguous message numbers must be qualified by the proper channel name with the /CHANNEL qualifier.
3 – Qualifiers
3.1 /ALL
/ALL /NOALL (default) Display all messages shown with the last DIRECTORY command. When used in conjunction with the /CHANNEL qualifier, only those messages shown with the last DIRECTORY command for the specified channel will be shown.
3.2 /CHANNEL
/CHANNEL=name Specifies the name of the channel from which to display messages. Wildcards are not permitted.
3.3 /CONFIRM
/CONFIRM /NOCONFIRM (default) When /CONFIRM is specified, you will be prompted to confirm whether or not to display each selected message.
3.4 /CONTENT
/CONTENT /NOCONTENT (default) When /CONTENT is specified, the content of the message will also be shown.
4 – Examples
In the following example, the envelope and header information for message number 1 is displayed. qm.maint> READ 1 Filename: PMDF_QUEUE:[L]ZZ01HNPFR2FUN89D4GAS.00 Message id: 1 Transport layer information: ---------------------------------------------------------------------- Envelope From: address: fresnel@example.com Envelope To: addresses: bernoulli Message header: ---------------------------------------------------------------------- Received: from EXAMPLE.COM by EXAMPLE.COM (PMDF V6.1-1 #8790) id <01HNPFR0P5OW9D4GAS@EXAMPLE.COM> for BERNOULLI@EXAMPLE.COM; Fri, 15 Nov 2012 16:48:41 -0700 (PDT) Date: Fri, 15 Nov 2012 16:48:40 -0700 (PDT) From: Fresnel the tabby cat <fresnel@example.com> To: bernoulli@example.com Subject: catnip and catnaps Message-id: <01HNPFR12JYA9D4GAS@EXAMPLE.COM> MIME-version: 1.0 Content-type: TEXT/PLAIN; CHARSET=US-ASCII Content-transfer-encoding: 7BIT qm.maint>