PMDF User's Guide
OpenVMS Edition


Previous Contents Index


READ

Read a message.

Syntax

READ [message-id[,...]]

Qualifiers Defaults
/ALL /NOALL
/CONFIRM /NOCONFIRM
/CONTENT /CONTENT

Parameters

message-id

A comma separated list of one or more message identification numbers shown with a previous DIRECTORY command. Ranges are allowed.

Description

The READ command can be used to read one or more queued messages. The messages to display are specified by their message identification numbers shown by the most recent DIRECTORY command. Those numbers appear in the leftmost column of the DIRECTORY command listing.


Qualifiers

/ALL

/NOALL (default)

Display all messages shown with the last DIRECTORY command.

/CONFIRM

/NOCONFIRM (default)

When /CONFIRM is specified, you will prompted to confirm whether or not to display each selected message.

/CONTENT (default)

/NOCONTENT

Specify /NOCONTENT if you only want to read the message envelope and header.

EXAMPLES

In the following example, message 3 is displayed.


qm.user> READ 3
Message id: 3 
 
Transport layer information: 
---------------------------------------------------------------------- 
Envelope From: address: doej@example.com 
Envelope To: addresses: jones 
 
Message header: 
---------------------------------------------------------------------- 
Received: from EXAMPLE.COM by EXAMPLE.COM (PMDF V5.0-1 #8790) 
 id <01HNPFR0P5OW9D4GAS@EXAMPLE.COM> for BERNOULLI@EXAMPLE.COM; Fri, 
 02 Aug 2012 16:48:41 -0700 (PDT) 
Date: Fri, 02 Aug 2012 16:48:40 -0700 (PDT) 
From: John Doe <doej@example.com> 
To:   jones@example.com 
Subject: sea voyage 
Message-id: <01HNPFR12JYA9D4GAS@EXAMPLE.COM> 
MIME-version: 1.0 
Content-type: TEXT/PLAIN; CHARSET=US-ASCII 
Content-transfer-encoding: 7BIT 
 
Message content: 
---------------------------------------------------------------------- 
Would you be interested in taking a short cruise to Nova Scotia? 
 
              - DoeJ 
qm.user> 


Previous Next Contents Index