home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / vms / 19555 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  1.0 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!agate!ucbvax!FandM.edu!Plain
  2. From: Plain@FandM.edu (Jack Plain)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Help Writing a Mail Sorter
  5. Message-ID: <01GSGLRGPOIA8WX4QN@ADMIN.FANDM.EDU>
  6. Date: 18 Dec 92 17:19:40 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Organization: The Internet
  9. Lines: 26
  10.  
  11. >I am trying to write a .com file to sort my mail messages when I run it.  What
  12. >I would like is to do a sel/from="vax" and have it move the selected messages
  13. >into a folder in mail called vax.  Here is piece of the .com file I am working
  14. >with:
  15. >! Mail sorting Utility !
  16. >$mail
  17. >$dir newmail
  18. >$select/from="games"
  19. >$dir
  20. >$move/all games
  21. >$yes (for the response to folder does not exist do you wish to make a new one?)
  22. >Mike Hatz
  23. >hatzm%venus.dnet@gte.com
  24. Mike,
  25. I am not sure this will work but It will get you past the DCL errors; Try this:
  26. $mail
  27. dir newmail
  28. select/from="games"
  29. dir
  30. move/all games
  31. yes (for the response to folder does not exist do you wish to make a new one?)
  32.  
  33. The difference is the lack of dollar signs.
  34. Jack Plain
  35. Plain@FandM.edu
  36.