home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Spezial / SPEZIAL2_97.zip / SPEZIAL2_97.iso / ANWEND / ONLINE / ELM23-2 / ELM23-2.ZIP / manuals / fastmail.man < prev    next >
Text File  |  1992-03-28  |  4KB  |  96 lines

  1. NAME
  2.      fastmail - quick batch mail interface to a single address
  3.  
  4. SYNOPSIS
  5.      fastmail [-b bcc-list] [-c cc-list] [-d] [-f fromname] [-r  replyto]  [-s
  6.      subject] filename address-list
  7.  
  8. DESCRIPTION
  9.      Fastmail is a low-level interface to the mail system  that  allows  batch
  10.      processing  of  mail.   It's intended for mailing to very large groups of
  11.      people in a staggered fashion.
  12.  
  13.      The starting options are;
  14.  
  15.      -b bcc-list This allows a list of people to receive blind-carbon  copies,
  16.                  or  BCCs,  of  the  message.   This list should be full email
  17.                  addresses.
  18.  
  19.      -c cc-list  This allows a list of people to  receive  carbon  copies,  or
  20.                  CCs,  of  the  message.   This  list  should  be  full  email
  21.                  addresses.
  22.  
  23.      -d          Debug.  This is helpful for strange, unfriendly  errors  from
  24.                  the program (etc).
  25.  
  26.      -f from     This overrides the users name in the From: line, so  that  if
  27.                  the  user  was  x@y,  and their name was MrX then the default
  28.                  From: line would be "From: x@y (MrX)".  Using "-f  Joe"  when
  29.                  invoking this, though, would change it to "From: x@y (Joe)"
  30.  
  31.      -r replyto  Occasionally, you might send mail but want the replies to  go
  32.                  to  a  different  address  (very  common with mailing lists).
  33.                  There is a header for this purpose called  "Reply-To:"  which
  34.                  can  be utilized by using this starting option.  For example,
  35.                  we could send mail with a reply-to to list-request  by  using
  36.                  "-r list-request".  The header generated would then be of the
  37.                  form "Reply-To: list-request".
  38.  
  39.      -s subject  The subject  of  the  message  is  specified  by  using  this
  40.                  starting option.
  41.  
  42. EXAMPLE
  43.      Let's say we're user "big" on machine  "big-vax"  and  we  have  a  shell
  44.      script called 'batch-mail' that contains the following lines:
  45.  
  46.         #
  47.         # Batch Mail - batch mailing of a file to a LOT of users
  48.         #
  49.         # Usage: batch-mail "from" "subject" filename
  50.  
  51.         sender_copy = $LOGIN
  52.         replto = "The-Mr-Big-list"
  53.  
  54.         fastmail -b $sender_copy -r $replyto -f "$1" -s "$2" $3 person1
  55.         sleep 10
  56.         fastmail -r $replyto -f "$1" -s "$2" $3 person2
  57.         sleep 10
  58.         fastmail -r $replyto -f "$1" -s "$2" $3 person3
  59.         sleep 10
  60.         fastmail -r $replyto -f "$1" -s "$2" $3 person4
  61.  
  62.         < etc >
  63.  
  64.      with the invocation:
  65.  
  66.         batch-mail "Mr. Big" "Warning to all" warning.text
  67.  
  68.      would mail a  copy  of  the  'warning.text'  file  to  person1,  person2,
  69.      person3,  etc.  "$LOGIN" will also receive a copy of the first message in
  70.      the mail, silently.  Each resultant message will include the headers:
  71.  
  72.          From: big-vax!big (Mr. Big)
  73.          Subject: Warning to all
  74.          Reply-To: The-Mr-Big-list
  75.  
  76.      This  program  should  turn  out  to  be  considerably  faster  than  the
  77.      alternative methods of accomplishing this task.
  78.  
  79. FILES
  80.      /usr/lib/sendmail       sendmail transport if available
  81.      /bin/rmail              transport if no sendmail
  82.      /tmp/fastmail.$$        temporary file
  83.  
  84. AUTHOR
  85.      Dave Taylor, Hewlett-Packard Laboratories
  86.  
  87. SEE ALSO
  88.      sendmail(1), rmail(1), elm(1L)
  89.  
  90. BUG REPORTS TO
  91.      Syd Weinstein elm@DSI.COM (dsinc!elm)
  92.  
  93. COPYRIGHTS
  94.      (c) Copyright 1986, 1987 by Dave Taylor
  95.      (c) Copyright 1988, 1989, 1990 by The USENET Community Trust
  96.