 ---------------------------------------------------------------------------
                               NetMail DOS 2.12

                    Copyright (C) 1996-99 by Marc S. Ressl,
                             All Rights Reserved.
 ---------------------------------------------------------------------------


 Description
 ---------------------------------------------------------------------------
 NetMail DOS is a mail program for Internet email.

 It supports the standard SMTP/POP3 protocols, and provides a low-level
 interface to email, making this program ideal for mail-bots and gateways.

 NetMail DOS provides flood protection, too, protecting from mail bombs.
 There is also a daemon mode that checks mail regularly, and exits
 on new mail.


 Requirements
 ---------------------------------------------------------------------------
 NetMail DOS requires a packet driver. If you run NetMail DOS in a network,
 you'll need the driver for that network. You can find the drivers on the
 Simtel Software Archive, in the PKTDRVR dir.

 If you run NetMail DOS with a dialup connection, you can use the DOSPPP
 packet driver (C) by Antonio Lopez Molero, a very stable PPP driver, or
 SLIPPER, a SLIP/CSLIP driver.

 For dialup, I recommend the NetDial script dialer (by myself).

 You can get these tools (drivers/dialup scripter) at my site:

        http://www.geocities.com/SiliconValley/Lakes/2382/netmail.html


 First time setup
 ---------------------------------------------------------------------------
 1) Create two directories, needed by NetMail for storing incoming mails,
 and reading outgoing messages. You could name them IN and OUT.

 2) Run NMSETUP. Most options are self-explanatory. For more help press F1.

 3) Edit the WATTCP.CFG file, and define the following settings:

    * Your IP number with a "my_ip = ". (If you use dialup, or have dynamic
      IP addressing, specify "bootp" as your IP).

    * Your networks gateway address and netmask (only for network
      connection).

    * The domain name server (DNS) addresses with "nameserver = " lines.


 Usage
 ---------------------------------------------------------------------------
 You can run NetMail DOS with these switches:

 NM [/send] [/receive] [/debug] [/tries:<n>] [/daemon:<n>]

      /send         Send mail.
      /receive      Receive mail.
      /debug        Debug mode.
      /tries:<n>    Tries mail transfer up to <n> times on failure.
      /daemon:<min> Checks mail every <min> minutes; exits on new mail.


 Message format
 ---------------------------------------------------------------------------
 NetMail DOS uses the UNIX .TXT/.WRK format to store emails.

 Each email is composed of two files with identical filename, but with .TXT
 and .WRK extensions.

 .WRK files are text files with this format:

        First line:   The destination server (Not used in NetMail).
        Second line:  The sender of the message.
        Next lines:   The recipient mail address(es).

 The .TXT files are text files containing the raw email message, as
 specified in RFC 822. Please read this RFC (Request for Comments) for
 details of this format.


 An example:

 The .WRK file:

        mail.sample.com
        mymail@sample.com
        yourmail@sample.com

 The .TXT file:

        From: My name <mymail@sample.com>
        To: Your name <yourmail@sample.com>
        Date: 01 Jan 98 12:34:56 -0300
        Subject: Hi pal!

        Hello!


 Versions log
 ---------------------------------------------------------------------------
 1.00    12/12/96    First version. Originally named "TransNet Mail".
 2.00    25/01/98    Renamed program to "NetMail", new flood protection
 2.10    22/07/98    Fixed End-Of-Line problem.
 2.11    29/07/98    Fixed strange behaviour on some SMTP servers.
 2.12    08/08/99    Fixed the DAEMON mode. Checked Y2K!


 Contact
 ---------------------------------------------------------------------------
 Please write me if you are interested in using NetMail for a commercial
 application, or just found a bug!

 You can find me here:

        ressl@geocities.com

 You can also visit the official NetMail Homepage here:

        http://www.gourmett.com.ar
        http://www.geocities.com/SiliconValley/Lakes/2382/netmail.html


 Credits
 ---------------------------------------------------------------------------
 This program was built with the free Waterloo TCP/IP library by
 Erich Engelke. Special thanks to him, for having released this excellent
 product freely. For more information, visit http://wattcp.supro.com.


 Legal stuff
 ---------------------------------------------------------------------------
 NetMail DOS is Freeware.

 NetMail DOS may be freely distributed subject to, but not limited to, the
 following terms: NetMail DOS may not be sold or resold, distributed as a
 part of any commercial package, used in a commercial environment, used or
 distributed in support of a commercial service, or used or distributed to
 support any kind of profit-generating activity, even if it is being
 distributed freely.

 If you would like to distribute NetMail DOS as part of a shareware
 distribution, magazine, internet book, CD-ROM, etc. please contact me for
 permission.

 All commercial use interests in NetMail DOS should be directed to:
 ressl@geocities.com

 The integrity of the original NetMail DOS distribution file as distributed
 by Marc S. Ressl is essential. NetMail DOS and all of its related files
 must be distributed together in the original format. The NetMail DOS
 distribution file may not have files added to it or removed from it, and
 none of its contents may be modified, decompiled, or reverse engineered.

 NetMail DOS is provided "AS IS" without warranty of any kind, either
 express or implied, including but not limited to the implied warranties of
 merchantability and fitness for a particular purpose. In no event shall
 Marc S. Ressl be liable for any damages whatsoever including direct,
 indirect, incidental, consequential, loss of business profits or special
 damages, even if Marc S. Ressl has been advised of the possibility of
 such damages.
