PMDF User's Guide
OpenVMS Edition


Previous Next Contents Index

8.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-JUN-2012 11:13:21 
 
Date: 28 Jun 2012 11:12:18 -0700 (PDT) 
From: bob@math.stateu.edu 
To: faculty@math.stateu.edu 
Subject: Department meeting 
 
Just a reminder that the monthly department meeting is at 3:00 PM next 
Monday (7/1).  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 can 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 8.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 Index