PMDF User's Guide
OpenVMS Edition
PMDF-USR-VMS-6.0


Previous | Contents

7.5 Deleting mail

To delete a mail message, either specify the number of the mail message as the parameter of the DELETE command or read the message (thereby making it the current message) and enter the DELETE command without any parameters or qualifiers. For example, to select and delete message number 4, use the following commands:

EMAIL> READ 4
Message MAIL 4                                          28-JAN-1993 11:13:21 
 
Date: 28 Jan 1993 11:12:18 -0700 (PDT) 
From: bob@math.stateu.edu 
To: faculty@math.stateu.edu 
Subject: Department meeting - Monday, February 1 
 
Just a reminder that the monthly department meeting is at 3:00 PM next 
Monday.  We still lack another volunteer to help Max out with graduate 
applications this year. 
 
Bob 
 
EMAIL> DELETE
Alternatively, you can issue the single command
EMAIL> DELETE 4
EMAIL> 
to delete message number 4.

To delete one or more mail messages, specify a comma-separated list of message numbers. You may also specify a range of numbers. In the following example, messages 1, 3, 6 through 8, and 10 are deleted:

EMAIL> DELETE 1,3,6-8,10
EMAIL> 

Deleted messages are placed in a special holding area called the WASTEBASKET folder. During a PMDF MAIL session, you can recover any deleted messages by moving them out of the WASTEBASKET folder. See Section 7.6 for a discussion on folders and how to move messages between them. When you exit from PMDF MAIL (or switch mail files), all messages from the WASTEBASKET folder will be purged unless you have previously issued the SET NOAUTO_PURGE command.


Previous | Next | Contents