home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!agate!ucbvax!lrw.com!leichter
- From: leichter@lrw.com (Jerry Leichter)
- Newsgroups: comp.os.vms
- Subject: RE: SENDing an entire MAIL FOLDER ?
- Message-ID: <9301260241.AA11619@uu3.psi.com>
- Date: 26 Jan 93 01:41:31 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 45
-
-
- I CHECKED:
- On-line help
- On-line documentation
- Local comp center staff
-
- Can I send all 30 messages in a single mail folder to a user at
- another node, and if so, how?
-
- Extracting each individually, and appending them into a single file
- would work, but I'd lose the directory information from that mail
- folder (#, From, Date, Subject).
-
- I could FORWARD each message individually. But would the message
- arriving at the new node contain my address in the "From" field, and
- the date of forwarding in the "Date" field?
-
- There is no direct way to do what you want. FORWARD only operates on one
- message at a time.
-
- My approach in your situation would be to:
-
- SELECT the folder
- EXTRACT/ALL/MAIL FOO
- Send file FOO.MAI (deposited, by default, in your mail
- subdirectory)
-
- At the other end, when the mail arrives:
-
- Extract it into some file, say F2.MAI.
- Enter MAIL and SET FILE [wherever]F2 (again, the default is your
- mail subdirectory).
-
- All your messages should now be accessible in the sequential mail file F2.MAI.
- If you want to move them into a folder in MAIL.MAI, do:
-
- COPY/ALL new-folder MAIL
-
- Note: If the mail went through something other than DECnet, chances are
- there are extra headers on the front. MAIL seems to ignore these, but if they
- give you any trouble, edit them out. The actual file created when you use
- EXTRACT/MAIL will always start with a formfeed (CTRL/L).
-
- -- Jerry
-
-