JBMail 1.0, Freeware
Copyright (C) 1999, Jem E. Berkes

"The fastest way to check your mail"

One-of-a-kind portable POP3 mail reader and mailbox maintenance
utility for Windows 95, Windows 98, and Windows NT 4.0 or higher.

JBMail is a utility that lets you read and delete mail from a POP3
mail account. POP3 mailboxes are provided by nearly all ISPs, and
are also available at www.MailAndNews.com, an excellent free mail
service.

Use JBMail to view, preview, delete, save, print, or get attachments
directly from your mailbox. All this in a small (84 kb) application!

JBMail does not have "nag" screens, and will not stop working after
a certain period of time. If you have ever downloaded other "free"
windows applications, you already know that this is rare.

Furthermore, thanks to a crew of 15 beta testers from around the world
this program has undergone thorough testing and debugging. As a result,
you should encounter very few (if any) bugs.

Questions, comments, bug reports to:
	berkes@post.com

Download updates from to:
	http://www.pc-utils.com/
	http://alkaid.knotwork.com/

--------
CONTENTS
--------

1. Disclaimer
2. Conditions of Use
3. Description
4. Features
5. Notes/Instructions
6. Revision history

-------------
1. DISCLAIMER
-------------

THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY WARRANTIES AS TO
PERFORMANCE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
ANY OTHER WARRANTIES WHETHER EXPRESSED OR IMPLIED.  THE ENTIRE RISK
AS TO THE RESULTS AND PERFORMANCE OF THE SOFTWARE IS ASSUMED BY YOU.
THE AUTHOR SHALL NOT HAVE ANY LIABILITY TO YOU OR ANY OTHER PERSON
OR ENTITY FOR ANY DAMAGES WHATSOEVER, INCLUDING, BUT NOT LIMITED TO,
LOSS OF REVENUE OR PROFIT, LOST OR DAMAGED DATA OR OTHER.  THE AUTHOR
IS ALSO NOT RESPONSIBLE FOR CLAIMS BY A THIRD PARTY.

--------------------
2. CONDITIONS OF USE
--------------------

JBMAIL IS FREE FOR PERSONAL, NON-BUSINESS USE ONLY.
ALL OTHERS MUST BUY JBMail Plus, THE ADVANCED VERSION.

JBMail Plus, unlike the free version of JBMail, is able to save POP3
connection settings. It can save an infinite number of profiles and
remember the last one used, making it much easier to access your
mailbox(es).

JBMail Plus costs $25 USD ($35 CAD or 16) per user. Discounts are
available for large numbers of users. Please contact Jem Berkes at
berkes@post.com prior to sending payment to confirm availability and
the mailing address.

Anybody who purchases JBMail Plus will continue to receive free
updates of the software as long as it is developed. Support quality
software -- buy JBMail Plus!

JBMail can only be developed as long users support it. So if you find
the program useful, or if you would like to use it within a business
setting, please purchase copies of JBMail Plus. Please make cheques
payable to "Jem Berkes", and send to:

185 Waverley Street
Winnipeg, Manitoba
R3M 3K4
Canada

Electronic payments are also acceptable. Please e-mail berkes@post.com
prior to making any kind of payment to confirm software availability.
Software is also sent through e-mail.

This freeware version of JBMail may be distributed freely over BBS's
and the internet. Contact the author prior to including JBMail in
other types of distributions.

JBMail is not in the public domain. The author retains full rights to
the software and prohibits unauthorized commercial distribution,
reverse engineering, and code modification.

--------------
3. DESCRIPTION
--------------

JBMail is a very small (84 kb) but powerful program that lets you view,
preview, delete, print and save e-mails from a POP3 mailbox.

JBMail does not have to download all your e-mails onto the local
computer before letting you read them. Instead, it lets you manipulate
your e-mail messages while they are still on your mail server.

JBMail is ideal for: 
- Quickly checking e-mail accounts for new mail
- Maintaining multiple e-mail accounts
- "Tidying up" accounts (deleting spam or messages that get stuck)
- Accessing mail when away from your primary computer
- Accessing mail from the field

JBMail is the fastest and most efficient way to check your mail,
whether you are at home, the office, or at any other computer with
internet access anywhere in the world.

-----------
4. FEATURES
-----------

- Straight-forward user interface
- Lists contents of POP3 box
- Includes "To" field to facilitate hunt for junk mail
- Message dates listed in Year 2000-compatible format
- View e-mails
- Preview e-mails (view 10, 20, or 50 lines of e-mail body)
- Straight-forward user interface
- Lists contents of POP3 box
- Includes "To" field to facilitate hunt for junk mail
- Message dates listed in Year 2000-compatible format
- View e-mails
- Preview e-mails (view 10, 20, or 50 lines of e-mail body)
- Delete e-mails
- Print e-mail
- Save e-mails to text files
- Supports both UU Encoded and Mime (Base64) encoded attachments
- Save and/or view attachments
- Multiple selections possible, i.e. delete/view group
- Multiple instances possible, i.e. access multiple mailboxes

- No install necessary. Only one executable file.
- Dial-up Networking (RAS) aware
- Only 84 kb total size!
- Does not write to registry
- Does not write to disk (no temporary files) -- ideal for network and
  public PCs, and is portable
- Stable, small, fast. Multithreaded design.
- Optional keep-alive function prevents mail server from disconnecting

---------------------
5. NOTES/INSTRUCTIONS
---------------------

When JBMail is started, you will get the Settings screen. Here you must
enter at least the POP3 host, user name, password. The default POP3
port is 110. When "Keep alive" is checked, JBMail will prod the POP3
server (send NOOP) every 60 seconds to keep the connection alive.

In the freeware version you have to enter connection information each
time you use the program. If you would like to be able to save the
connection information, please consider purchasing JBMail Plus (see
"Conditions of Use", near the top of this document). JBMail Plus can
save an infinite number of "profiles", selectable from a drop-down list
whenever JBMail is started. It remembers the last profile used, but
you can cause any profile to be selected by including (as the command
line parameter) the description of a profile.

JBMail's main screen is the "inbox" --- a listing of the e-mails on
your POP box. The Abort button in the bottom right hand corner of the
screen can be used to terminate the connection to the server if a
network operation seems to hang. All status messages are shown in the
botton left hand corner of the screen.

Five columns are shown: Subject, From (the sender), Date/Time (in Y2K
compatible YYYY-MM-DD format), Size (in kb), and To (the recipient).
You can usually pick out junk mail just by looking at the To field, as
spammers often set the To field to something unusual.

Select one or more messages (multiple messages can be selected with a
CTRL+click combination or by dragging a box around messages). Then use
the View, Preview or Delete buttons or the equivalent functions from
the Message menu. You can also double click messages to view them, or
double right-click to preview them.

See Help/Shortcuts for a summary of keyboard and mouse shortcuts.

Preview will show only the first x lines of an e-mail body, letting you
peek inside huge messages without having to wait for a long download.
The default length of a preview is 20 lines, but this can be changed
from the Options menu.

By default, headers are "shortened" in view and preview -- that is, all
preliminary Received: lines are not shown. This can be changed from
the Options menu.

Viewing or previewing a message opens up a view window. From this
window you can also Save a message to a text file and Print a message
to the default Windows printer. If a message has UU Encoded or Mime
encoded attachments, the "Attachments..." button will activate. When
you click Attachments, for each attachment you will have the option to
save it do a disk. After saving an attachment, you will be asked if you
want to view the attachment (if you answer "Yes", JBMail will invoke
the appropriate default viewer).

WARNING: The Attachments button may be active even if you preview a
message, but if less than the entire message is present on screen there
is a chance that the attachment that is recognized will be incomplete.

The Abort button in the view window can be used to close a connection
to the POP3 server if, for example, the message takes too long to load.
The status indicator below the view window indicates how much of the
message has loaded.

There are two ways to exit the program: "Save & Exit", or "Close". When
"Save & Exit" is chosen, any messages you may have deleted during the
session will actually be deleted from your mailbox. If instead you
"Close", any deleted messages will be undeleted.

-------------------
6. REVISION HISTORY
-------------------

Version 1.0
- Does final refresh of view window after loading message

Version 0.993
- To accommodate Win95/98 edit control limitation: for messages
  longer than 64 kb, only first 64 kb is shown. The rest is still
  accessible, just not visible.

Version 0.992
- If a command line parameter is given, that profile is selected

Version 0.991
- Can now update existing user profiles

Version 0.99
- Skips attachments when printing

Version 0.98
- Remembers last profile used
- INI file is now only opened when needed
- Passwords now better encrypted in INI file
- Now able to save profiles lacking host+username
- Now handles situation correctly if view fails

Version 0.97
- Added New button to clear all fields in settings

Version 0.96. Changes:
- Saves settings, multiple (infinite) mailboxes supported
- Base64 decode improved

Version 0.95. Changes:
- Greys attachments button if no attachments are found
- Now correctly previews multiple selections
- Mime/Base64 decode improved (much better Mime parsing)
- UUdecode improved (no longer alters input data)
- Now handles situation correctly if delete fails
- Returns to mailbox if abortquit doesn't work

Version 0.94. Changes:
- Date is now parsed and shown in a Year 2000-friendly format
- Added ability to View attachments (in addition to save)
- Added Mime-Base64 attachment support
- Added UUdecode attachment support
- Let user select between 10, 20, 50 lines preview
- Let user select between full / simplified headers
- Greyed out Abort in msgview when it's not needed
- Only view while downloading for messages < 128kb (mem issue)

Version 0.93. Changes:
- Items inserted into listview are zero based (correct method)
- Modified default column widths and changed Date to Date/Time

Version 0.92. Changes:
- Fixed bug that caused instability if you abort while a message
  was viewing
- Cancel button in message view to quit long series of message
- Fixed bug that caused instability if you viewed multiple messages
  and pressed Esc repeatedly
- Implemented get_ok() for more reliability
- Date has one more field (time)
- After connect, shows size of maildrop
- Esc now closes the view message box
