home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 1998 #8 / K_CD_8_98.iso / arkivet / ie16dk / iew31_3.cab / SEND.PRF < prev    next >
Text File  |  1997-05-19  |  4KB  |  144 lines

  1. #       Mail MIME TO MAPI Conversion Files
  2. #       
  3. #       Send Configuration
  4. #
  5. #       Copyright (c) 1994 FTP Software, Inc. All rights reserved
  6. #
  7. #       These scripts may be freely used with Mail.
  8. #
  9. #       NOTE:  Always leave a blank line after each encoding block
  10. #           A line beginning with # is a comment and will be ignored
  11. #
  12. #
  13. #       See Appendix B of the Mail manual for more information on how
  14. #    the MIME configuration files work and are formed.
  15.  
  16. #
  17. # This section defines the MIME system wide configuration.
  18. #
  19. # NB. This is a new addition that is not mentioned in Appendix B
  20. #
  21. [SYSTEM]
  22. #
  23. # Uncomment the next line to use uuencode as the default encoding method for all binary
  24. # data attachments.
  25. #
  26. #DEFAULTENCODING: X-uuencode
  27. #
  28. # Uncomment the next line and change the value to indicate which drives will automatically
  29. # be chosen to send attachments by reference (With the appropriate option on the attachment)
  30. #
  31. #SHAREDDRIVES: DRST
  32.  
  33.  
  34. #
  35. #       This section defines uuencoding and how it is implemented.
  36. #
  37. #[ENCODING]
  38. #NAME:           X-uuencode
  39. #DECODER:        uudec %infile %outfile
  40. #ENCODER:        uuenc %infile %{filename} %outfile
  41.  
  42. #
  43. #       This section that files that have been pre-uuencoded and named
  44. #       with a .UUE extension are transmitted untouched.
  45. #
  46. [EXTERNAL CONV]
  47. MAPI:           .UUE
  48. MIME:           text/plain
  49. MAPItoMIME:     conversion: <none>, binary: no, encoding: 7bit
  50. MIMEtoMAPI:     conversion: <none>, match: FileExtension=".UUE"
  51.  
  52. #
  53. #       This section sends .DOC documents as an appropriate MIME type, 
  54. #       without carrying out any conversions and encodes the data using
  55. #       the default MIME encoding
  56. #
  57. [EXTERNAL CONV]
  58. MAPI:        .DOC
  59. MIME:        application/msword
  60. MIMEtoMAPI:    conversion: <none>
  61. MAPItoMIME:    conversion: <none>, binary: yes, encoding: <default>
  62. #
  63. #    The following line is an alternative MAPItoMIME conversion line
  64. #    for .DOC files that encodes the data using uuencode.
  65. #
  66. #MAPItoMIME:    conversion: <none>, binary: yes, encoding: X-uuencode
  67.  
  68.  
  69. #
  70. #        The following two sections define conversions that send
  71. #        non-text textual data in a form that can be read by non
  72. #        MIME mailers.
  73. #
  74. #        Firstly for .INI files:
  75. #
  76. [EXTERNAL CONV]
  77. MIME:          application/octet-stream
  78. MAPI:          .INI
  79. MAPItoMIME:    conversion: <none>, encoding: 7bit
  80.  
  81. #
  82. #        And secondly for .LOG files:
  83. #
  84. [EXTERNAL CONV]
  85. MIME:          application/octet-stream
  86. MAPI:          .LOG
  87. MAPItoMIME:    conversion: <none>, encoding: 7bit
  88.  
  89.  
  90. #
  91. #    The following sections define conversions for certain comman certain file 
  92. #    extensions and their corresponding MIME type.
  93. #
  94. #    Firstly for WordPerfect .WP files:
  95. #
  96. [EXTERNAL CONV]
  97. MIME:          application/wordperfect5.1
  98. MAPI:          .WP
  99. MAPItoMIME:    conversion: <none>, binary: yes, encoding: <default>
  100. MIMEtoMAPI:    conversion: <none>
  101.                
  102. #
  103. #    And for Zip Files:
  104. #               
  105. [EXTERNAL CONV]
  106. MIME:          application/zip
  107. MAPI:          .ZIP
  108. MAPItoMIME:    conversion: <none>, binary: yes, encoding: <default>
  109. MIMEtoMAPI:    conversion: <none>
  110.  
  111. #
  112. #    And for Tiff image .TIF files:                                 
  113. #
  114. [EXTERNAL CONV]
  115. MIME:          image/tiff
  116. MAPI:          .TIF
  117. MAPItoMIME:    conversion: <none>, binary: yes, encoding: <default>
  118. MIMEtoMAPI:    conversion: <none>
  119.  
  120.  
  121. #
  122. #    And for Richtext format .RTF files:
  123. #
  124. [EXTERNAL CONV]
  125. MIME:          application/rtf
  126. MAPI:          .RTF
  127. MIMEtoMAPI:    conversion: <none>
  128. MAPItoMIME:    conversion: <none>, encoding: 7bit
  129.  
  130. #
  131. #    This section gives an example of how .VOC files could be sent 
  132. #    and recieved as the basic MIME audio type.
  133. #
  134. #[EXTERNAL CONV]
  135. #MIME:        audio/basic
  136. #MAPI:        .VOC
  137. #MIMEtoMAPI:    conversion: sox -t .ul %infile %outfile
  138. #MAPItoMIME:    conversion: sox %infile -t .ul %outfile, binary: yes, encoding: <default>
  139.                                 
  140. #
  141. #       END
  142. #
  143.