PMDF User's Guide
OpenVMS Edition


Previous Next Contents Index

8.3.7 Copying Messages to External Files

You can copy a mail message to a file with the EXTRACT command:


EMAIL> READ 4
Message MAIL 4                                          28-JAN-2012 11:13:21 
 
Date: 28 Jun 2012 11:12:18 -0700 (PDT) 
From: bob@example.com 
To: engineering@example.com 
Subject: Department meeting - Monday, July 1 
 
Just a reminder that the monthly department meeting is at 3:00 PM next 
Monday. 
 
Bob 
 
EMAIL> EXTRACT/NOHEADER MEETING.TXT
In the above example, message number 4 is read. Next its content is copied to the file MEETING.TXT. The /NOHEADER qualifier specifies that only the message content (i.e., the text of the message) is to be copied to the file.


Previous Next Contents Index