home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / prnr120.zip / mailcap < prev    next >
Text File  |  1995-12-12  |  2KB  |  55 lines

  1. # Post Road Mailer Mailcap File for Metamail, adapted with
  2. # permission from the Prototype Mailcap File. Please see the
  3. # copyright notice and comments at the end of this file.
  4.  
  5. message/partial; PRMMIME %s %{name} %{id} %{number} %{total}
  6. audio/*; PRMMIME %s %{name}
  7. image/*; PRMMIME %s %{name}
  8. application/*; PRMMIME %s %{name}
  9. text/plain; PRMMIME %s %{charset}
  10.  
  11. # Comment for Ken:
  12. # =================
  13. #
  14. # The following environment variables must be set
  15. # SET MAILCAPS=d:\postroad\metamail\mailcap.prm
  16. # SET METAMAIL_TMPDIR=d:\postroad\metamail\tmp
  17. # As soon as a file is downloaded, PRMMIME1 is called. This program does the
  18. # following:
  19. #   reads the headers. Rule is that headers are done if the first line following
  20. #   a blank line does not begin with a tag. I believe a tag is a first blank
  21. #   delimited word that ends with a colon.
  22. #   if content/type tag is encountered we have a mime. Save the headers to a
  23. #   temp file and post the following to the table:
  24. #     Call Lineout 'Table', 'MIME' HeaderName DateReceived
  25. #     Call metamail PopFileName -x -q
  26. #   else
  27. #     Call Lineout 'Table', 'NORM' Filename DateReceived
  28. #     address cmd 'COPY POPFileName NewName'
  29. #   end
  30. # PRMMIME2 is called by metamail from an entry in the Mailcaps.prm file.
  31. # The sole function of PRMMINE2 is to update the table with the found
  32. # files. The should be one or more.
  33. # Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
  34. # Permission to use, copy, modify, and distribute this material 
  35. # for any purpose and without fee is hereby granted, provided 
  36. # that the above copyright notice and this permission notice 
  37. # appear in all copies, and that the name of Bellcore not be 
  38. # used in advertising or publicity pertaining to this 
  39. # material without the specific, prior written permission 
  40. # of an authorized representative of Bellcore.  BELLCORE 
  41. # MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY 
  42. # OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS", 
  43. # WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
  44.