home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / novell / 10633 < prev    next >
Encoding:
Text File  |  1992-12-17  |  2.4 KB  |  68 lines

  1. Newsgroups: comp.sys.novell
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!cs.utexas.edu!torn!mcshub!csx.cciw.ca!u055
  3. From: u055@csx.cciw.ca (James Sprenger)
  4. Subject: Re: pmail
  5. Organization: Canada Centre for Inland Waters
  6. Date: Thu, 17 Dec 1992 14:47:52 GMT
  7. Message-ID: <1992Dec17.144752.26118@csx.cciw.ca>
  8. References: <7858@monmouth.edu>
  9. Lines: 57
  10.  
  11. In article <7858@monmouth.edu> m7000@moncol.monmouth.edu (RICHARD MANCINELLI) writes:
  12. >
  13. >I have a simple question.. is there a way to send a message in 
  14. >PMAIL (or any other way for that matter) from a batch file?
  15. yes, use command line syntax....
  16.  PMAIL filename.ext [TO] novell_username ["subject"] [/B]
  17.  
  18. optionals
  19. /B will send filename.ext as a separately mailed file.
  20.    require if the filename.ext is NON-ASCII (unless you WANT to
  21.    muck things up :-) otherwise a mailheader is slapped onto the beginning
  22.    of filename.ext with date, time, whom, who, etc....
  23.  
  24. "subject" just as the word implies, you can add a subject to the mailheader.
  25.    "TEST OF BATCH MAIL" is an example
  26.  
  27. TO - no explanation for this :-)
  28.  
  29. non-optionals
  30. novell_username is can be any login name and can be directed to other attached
  31. servers eg.  J_SMITH on server BIGRED
  32.  pmail filename.ext J_SMITH
  33.  pmail filename.ext BIGRED/J_SMITH
  34.  
  35. filename.ext can also be D:\PATH\FILENAME.EXT (I think!)
  36.  
  37. Note: If a working directory is defined in PMAIL PREFERENCES
  38.       the user mailing files may get a file not found error when invoking
  39.       pmail command-line interface.  'cause pmail expects the file to be  
  40.       in the working DIR 
  41.  
  42.  
  43.  
  44. >I would just like to be able to have a message like "2 applications
  45. >received from xxxxxx at xx:xx:xx on xx/xx/xx" appear in their
  46. >mailbox.... is this possible??
  47.  
  48.  
  49. The best you can do here is using NEWMAIL that comes with PMAIL, it'll
  50. only tell you about ALL the new mail recieved.
  51.  
  52. But it wouldn't be that hard write a prog. that could scan the
  53. SYS:MAIL\USERHEXID directory for a new mail file and parse the file to
  54. determine the subject field and count the number of mortgage(?) applications.
  55.  
  56. Later!
  57.  
  58. -- James --
  59.  
  60. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  61.  James Sprenger  > u055@csx.cciw.ca (preferred)
  62.                  > JamesS@cntxmiss.mhs.compuserve.com
  63.                  > JSprenger@biology.watstar.uwaterloo.ca
  64. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  65. Computers:  Can't live with 'em, Can't shoot 'em.....
  66.