home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.novell
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!cs.utexas.edu!torn!mcshub!csx.cciw.ca!u055
- From: u055@csx.cciw.ca (James Sprenger)
- Subject: Re: pmail
- Organization: Canada Centre for Inland Waters
- Date: Thu, 17 Dec 1992 14:47:52 GMT
- Message-ID: <1992Dec17.144752.26118@csx.cciw.ca>
- References: <7858@monmouth.edu>
- Lines: 57
-
- In article <7858@monmouth.edu> m7000@moncol.monmouth.edu (RICHARD MANCINELLI) writes:
- >
- >
- >I have a simple question.. is there a way to send a message in
- >PMAIL (or any other way for that matter) from a batch file?
- yes, use command line syntax....
- PMAIL filename.ext [TO] novell_username ["subject"] [/B]
-
- optionals
- /B will send filename.ext as a separately mailed file.
- require if the filename.ext is NON-ASCII (unless you WANT to
- muck things up :-) otherwise a mailheader is slapped onto the beginning
- of filename.ext with date, time, whom, who, etc....
-
- "subject" just as the word implies, you can add a subject to the mailheader.
- "TEST OF BATCH MAIL" is an example
-
- TO - no explanation for this :-)
-
- non-optionals
- novell_username is can be any login name and can be directed to other attached
- servers eg. J_SMITH on server BIGRED
- pmail filename.ext J_SMITH
- pmail filename.ext BIGRED/J_SMITH
-
- filename.ext can also be D:\PATH\FILENAME.EXT (I think!)
-
- Note: If a working directory is defined in PMAIL PREFERENCES
- the user mailing files may get a file not found error when invoking
- pmail command-line interface. 'cause pmail expects the file to be
- in the working DIR
-
-
-
- >
- >I would just like to be able to have a message like "2 applications
- >received from xxxxxx at xx:xx:xx on xx/xx/xx" appear in their
- >mailbox.... is this possible??
-
-
- The best you can do here is using NEWMAIL that comes with PMAIL, it'll
- only tell you about ALL the new mail recieved.
-
- But it wouldn't be that hard write a prog. that could scan the
- SYS:MAIL\USERHEXID directory for a new mail file and parse the file to
- determine the subject field and count the number of mortgage(?) applications.
-
- Later!
-
- -- James --
-
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- James Sprenger > u055@csx.cciw.ca (preferred)
- > JamesS@cntxmiss.mhs.compuserve.com
- > JSprenger@biology.watstar.uwaterloo.ca
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- Computers: Can't live with 'em, Can't shoot 'em.....
-