XEROX Lisp Users' Packages 2 4 1 1 MAILOMAT 1 4 1 By: Matthew Bennett (Matt @ Washington.ARPA) The package MAILOMAT allows a user to automatically retrieve mail with the option to print. It is currently only supported under GRAPEVINE and requires that the library package LAFITE be loaded. MAILOMAT is most useful for those people who must get and hardcopy new mail for multiple users since it allows the concurrent execution of such activities without demanding accompanying human interaction. USER INTERFACE Background Menu Command After loading the package, all communication with the package is begun through the background menu. Buttoning the MAILOMAT Panel item will pop up a menu of established users and the OTHER item which allows one to specify a new user. Buttoning one of the former will pop up a form already containing information; if you button the latter, a fresh, empty form will pop up. MAILOMAT Form Editor The control of a particular user's automatic retrieval and printing of mail is determined by the values of the various fields in the MAILOMAT Form. A field is either free valued or can only take on values from a specified menu. To alter a value for a particular field, one buttons its name to input an initial entry or one can button an existing free valued field value to modify it. The editing capabilities of TEDIT work on the free valued fields in the MAILOMAT Form Editor. MAILOMAT Form Fields These fields must be filled in before activating MAILOMAT; however, some are ignored depending on the values of associated fields. For example, if Hardcopy is set to No, then MAILOMAT doesn't check to see if the value of Print Server is a valid printing host. ·Mail Folder This field indicates which mail file the mail is retrieved into. ·Username This field specifies the name of the user for which the mail was intended. ·Password This field must be filled in with the password of username for the mail to be successfully retrieved. ·Hardcopy This field specifies whether or not the retrieved mail is hardcopied. It is a menu field whose values are "Yes" and No." ·Print Server This field specifies where the hardcopy is to be sent to be printed. ·Firing Mode This menu field specifies how the mail server should be polled. If one specifies "Time of Day," then the mail will be received at certain times of the day specified by the FIring Times field. Otherwise, if one chooses "Fixed Period", then the time between successive mail gets is constant and is specified by the values of the Start TIme, Time Period, and Time Unit fields. ·Firing Times This field specifies the times of the day for which MAILOMAT retrieves mail if Firing Mode is set to "Time of Day." ·Start Time This field specifies when the "FIxed Period" mail retrieving is to begin. ·Time Period This field specifies the number component of the length of the period for "FIxed Period"mail retrieving. ·Time Unit This field specifies the unit component of the length of the period for "FIxed Period"mail retrieving. ·Activation This field is used to turn "On" or "Off" the MAILOMAT for the user USERNAME. MAILOMAT Form Editor Commands These commands are activated by buttoning them in the MAILOMAT Form Editor window. ·Apply This command is used to actually envoke the directions specified in the form. ·Put This command saves the fields in the form for the indicated username in a profile file. ·Get This command gets the fields in the form for the indicated username from a profile file. PROFILE FILE The creation of the profile file removes the necessity of tediously filling out a form for each user after loading a fresh sysout. MAILOMAT places this profile in the directory specified by the LAFITEDEFAULTHOST&DIR variable if it has non-nil value; otherwise, it goes into the directory specified by the LOGINHOST/DIR variable. PROFILE VARIABLES These variables allow additional controlling of the behavior of MAILOMAT but shouldn't require frequent changing. Thus they are good candidates for setting in an INIT file or leaving to their defaults. LAFITEDEFAULTHOST&DIR [Variable] The directory on which MAILOMAT looks for your profile file. LAFITEMAIL.EXT [Variable] The default extension for names of mailfolders, defaults to MAIL. LAFITETOC.EXT [Variable] The default extension for names of mailfolders' table of contents file, defaults to -LAFITE-TOC. LAFITEHARDCOPY.MIN.TOC [Variable] The number of messages needed to be exceeded before a table of contents is written on the hardcopy output. LAFITENEWPAGEFLG [Variable] This is non-nil if you want each message hardcopied to be followed by a page break. (LIST ((PAGE NIL NIL (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (282 42 72 36) NIL) (HEADING NIL (HEADINGTYPE RunningHead) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL))) (PAGE NIL NIL (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (FAMILY NIL OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (270 36 72 36) NIL) (HEADING NIL (HEADINGTYPE RunningHead) (84 744 444 36) NIL) (TEXT NIL NIL (72 72 468 648) NIL))) (PAGE NIL NIL (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (FAMILY NIL OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (270 36 72 36) NIL) (HEADING NIL (HEADINGTYPE RunningHead) (84 744 444 36) NIL) (TEXT NIL NIL (72 72 468 648) NIL))))) TÈ T˜TÈ TÈ TÈÎ PAGEHEADING RunningHeadŠŠ8ΊŠ8ÎÈÎÈ ÎÈ ÎÈÎ PAGEHEADING RunningHeadMODERN €MODERN MODERN MODERN LOGOMODERN 1(DEFAULTFONT 1 (GACHA 10) (GACHA 8) (TERMINAL 8))   HRULE.GETFNMODERN  HRULE.GETFNMODERN  HRULE.GETFN HRULE.GETFNMODERN   HRULE.GETFNMODERN  HRULE.GETFNMODERN  HRULE.GETFN/ ˜     s6½  †'    • 5 OVp…S‡‚VvrZ  SU__  J  Ë !> = U  "l U  :‡z¹