|
|
To delete the message you have just read, enter d at the mail prompt. If you want to delete the current message and display (print) the next on your screen, enter dp. You can specify several messages to be deleted by specifying their message numbers, individually, as ranges, or a mix of both. For example, d . 3-5 12 deletes the current message, and messages 3, 4, 5, and 12.
Deleted messages are not removed from your system mailbox completely until you exit mail. They are just marked to be deleted so that the h command does not display their headers.