home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 21982 < prev    next >
Encoding:
Internet Message Format  |  1993-01-26  |  1.7 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!ucbvax!lrw.com!leichter
  2. From: leichter@lrw.com (Jerry Leichter)
  3. Newsgroups: comp.os.vms
  4. Subject: RE: SENDing an entire MAIL FOLDER ?
  5. Message-ID: <9301260241.AA11619@uu3.psi.com>
  6. Date: 26 Jan 93 01:41:31 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 45
  11.  
  12.  
  13.     I CHECKED:
  14.     On-line help
  15.     On-line documentation
  16.     Local comp center staff
  17.  
  18.     Can I send all 30 messages in a single mail folder to a user at
  19.     another node, and if so, how?
  20.  
  21.     Extracting each individually, and appending them into a single file
  22.     would work, but I'd lose the directory information from that mail
  23.     folder (#, From, Date, Subject).
  24.  
  25.     I could FORWARD each message individually.  But would the message
  26.     arriving at the new node contain my address in the "From" field, and
  27.     the date of forwarding in the "Date" field?
  28.  
  29. There is no direct way to do what you want.  FORWARD only operates on one
  30. message at a time.
  31.  
  32. My approach in your situation would be to:
  33.  
  34.     SELECT the folder
  35.     EXTRACT/ALL/MAIL FOO
  36.     Send file FOO.MAI (deposited, by default, in your mail
  37.         subdirectory)
  38.  
  39. At the other end, when the mail arrives:
  40.  
  41.     Extract it into some file, say F2.MAI.
  42.     Enter MAIL and SET FILE [wherever]F2 (again, the default is your
  43.         mail subdirectory).
  44.  
  45. All your messages should now be accessible in the sequential mail file F2.MAI.
  46. If you want to move them into a folder in MAIL.MAI, do:
  47.  
  48.     COPY/ALL new-folder MAIL
  49.  
  50. Note:  If the mail went through something other than DECnet, chances are
  51. there are extra headers on the front.  MAIL seems to ignore these, but if they
  52. give you any trouble, edit them out.  The actual file created when you use
  53. EXTRACT/MAIL will always start with a formfeed (CTRL/L).
  54.  
  55.                             -- Jerry
  56.  
  57.