
                       Zip&attach plug-in for Becky!

                                      Copyright(c) 2000 by Ryota ANDO


** Introduction **
Zip&attach plug-in adds a new feature to Becky! Internet Mail version 2.
You can attach files as zip-compressed form to reduce file size and network 
load.  The compression and attachment can be done simultaneously, so you 
don't need to run any external compression tools.

** Requirement **
The environment which can run Becky! ver.2

** Contents **
BkZip.dll   Plug-in DLL
zip32.dll   Info-Zip's DLL
sfx32.dat   Header file of self-extract archive
            (should be placed in the same folder as zip32.dll)
BkZip.txt   This file

** Installation **
Quit Becky! if you are running it.
Copy BkZip.dll to Becky!'s plugins folder.
Copy zip32.dll and sfx32.dat to Windows' system folder (recommended; if you 
already have zip32.dll, please use newer one) or Becky!'s plugins folder.

NOTE: zip32.dll AND sfx32.dat SHOULD BE PLACED IN THE SAME FOLDER.

When you start Becky!, Confirmation dialog appears. Push Ok to enable this 
plug-in.

** How to use **
If you succeeded in installing this plug-in, a menu item 'Zip and attach...'
is added at the bottom of 'Tools' menu of a composing window.

* Select files to attach
Press "Add" button and select files from the dialog.
The selected files are added to the file list.
You can also add files by Drag&Drop.
If you want to remove files from the list, select them and press "Delete."

* Attach the file
Press "Attach" button, then start compression and attachment.
You will find the attached file at the bottom of the composing window.

* Attachment file name (without folder compression)
The default attachment file name is the one at the top of the file list 
whose extension is changed to '.zip'.  You can modify the base file name
by double-clicking a file of the list or by editing directly.
The extension is automatically changed to '.zip'.

* Attach all files in a folder
When you press 'Attach folder...' button, selection dialog of the folder appears.
When you select the folder and push OK button, all files under the folder are compressed.  If there are subfolders, they are compressed with folder names, .
You can compress a folder by drag and drop from Explorer.

* Naming rule for folder compression
You can specify the folder structure from Tools->Plugin setup->Zip and attach.

For example, when you want to attach files under 'c:\foo\bar\'
  c:\foo\bar\a.txt
  c:\foo\bar\b.txt
  c:\foo\bar\dir\c.txt

The structure of the folders in the archive depends on the option:
-Include the selected folder name: 
  bar\a.txt
  bar\b.txt
  bar\dir\c.txt

-Exclude the selected folder name: 
  a.txt
  b.txt
  dir\c.txt

If you check 'Use folder name as the archive file name', the archive file name
is automatically set. (in the case of the example above, the file name is 
'bar.zip')

* How to uninstall
Just delete BkZip.dll and BkZip.ini in plugins folder.
If zip32.dll and sfx32.dat are not used by other applications, you can delete
 these files.


**COPYRIGHT NOTICE**
  Zip&attach plug-in for Becky! is a freeware.
  Copyright(c) 2000 by Ryota ANDO, All rights reserved.

  You can freely use, redistribute this software unless you modify it.
  This software is provided by the author 'AS IS' and any express or 
  implied warranties are disclaimed.

zip32.dll is a freeware of Info-ZIP. Source and executable can be obtained
from http://www.cdrom.com/pub/infozip/

Zip&attach plug-in uses Zip32.pas, which is a translation of Info-Zip's 
Api.h done by Theo Bebekis. This file can be obtained from Delphi super page 
(http://sunsite.icm.edu.pl/delphi/). The archive name is zunz002.zip.

Zip&attach plug-in was made with Borland Delphi 5.0J+UpdatePack1.

------------------------------------------------------------------------
Ryota ANDO
E-mail:rando@ca2.so-net.ne.jp
URL: http://www02.so-net.ne.jp/~rando/index.html
