1 Bmail
 (11-Sep-85)

 The BMAIL utility uses a batch job  to  send  mail  messages  to  large
 groups  of  users (such as an instructor sending messages to students),
 while you work on other tasks.  To use BMAIL, type the DCL command:
    @SYS$PUBLIC:BMAIL

 BMAIL prompts for a "To:" line, a "Subject:" line, and the name of  the
 file containing your message.  To type the message in directly from the
 terminal, press RETURN instead of entering a file name at  the  message
 file prompt.

 BMAIL creates and submits a batch file  which  runs  the  MAIL  program
 using the provided information.  You are returned to the DCL prompt.  A
 log file (BMAIL.LOG) will be placed in  your  main  directory.   If  an
 error  occurs  during  processing,  you  will  receive  a  mail message
 containing a copy of the original message.

 For information about VMS MAIL, type HELP MAIL or type HELP when inside
 the MAIL program.  See HELP GENLIST also.
2 Hints
 If you use a distribution list with BMAIL, be sure it does not  contain
 invalid user numbers or any defined logical mail names, such as JOE for
 WXYZ123 (see HELP DEFINE).  Defined logical mail names  are  recognized
 by  BMAIL  only  if  entered separately on the "To:" line.  All invalid
 user numbers and defined mail names included in distribution lists will
 be  listed  as undeliverable in BMAIL.LOG, and none of the messages for
 that BMAIL command will be delivered.

 Some SET commands (such as SET TERMINAL) used in interactive jobs  will
 produce  an error message in the BMAIL.LOG file.  These messages do not
 interfere with mail delivery and can be ignored.  To  get  rid  of  the
 messages,  you  can  dismantle  the  SET commands for all batch jobs by
 placing those commands last in your LOGIN.COM file  and  including  the
 following line before them ("BATCH" must be in uppercase):
    IF F$MODE() .EQS. "BATCH" THEN EXIT
2 Examples

  1.$ @SYS$PUBLIC:BMAIL
    To: @CLASS, ABCD123
    Subject: Final Project Proposals
    Enter name of message file, or RETURN to create: <RETURN>
    Enter message below.  Type CTRL/Z when complete, or CTRL/C to quit:
    ------------------------------------------------------------------
    Proposals for this semester's final project are due by the
    end of 7th week.   If you have not chosen a topic yet,
    see the list outside the door of my office for some ideas.
                                 Dr. Babbage

    <CTRL/Z>
    *EXIT*
    Submitting batch job...
    Job BMAIL (queue SYS$BATCH, entry 234) started on IV2_BATCH
    $

 In the above example, a distribution file named CLASS.DIS was  used  to
 send  mail  to  a  list  of  users.   The sender also chose to type the
 message in directly from the terminal.


  2.$ @SYS$PUBLIC:BMAIL
    To: ABCD123,WXYZ456
    Subject: Here's a new program I wrote this weekend
    Enter name of message file, or RETURN to create: CRIBBAGE.C
    Submitting batch job...
    Job BMAIL (queue SYS$BATCH, entry 924) started on IV2_BATCH
    $

 Here an existing file was used as the message.
