
 ---------------------------------------------------------------------------
                               NetMail 95 2.11

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


 Introduction
 ---------------------------------------------------------------------------

 NetMail 95 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 95 also provides flood protection, protecting you from mail bombs.
 There is also a daemon mode that checks mail regularly, and exits
 on new mail.

 Finally, NetMail 95 supports the RAS (Remote Access Service), so it dials
 automatically your provider if a SEND/RECEIVE query is made.


 The program was originally written for the TransNet Gateway, but has been
 separated and released for public use.


 First time setup
 ---------------------------------------------------------------------------

 1) Create two folders, which are used by NetMail 95 as inbound and outbound
 email directories.

 It's recommended to name these directories SMTPIN and SMTPOUT.

 2) Run NM95CFG. Most options are self-explanatory.

 The only option that deserves mention is the "Domain Name". This setting
 sets the HELO identification used in the SMTP protocol.


 Usage
 ---------------------------------------------------------------------------

 You can run NetMail 95 with these switches:

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

      /send         Sends mail.
      /receive      Receives mail.
      /hangup       Hangs up modem connection.
      /debug        Turns debug mode on.
      /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 95 uses the .TXT/.WRK UNIX format to store emails.

 Each email is formed by two files with identical name, but with .TXT and
 .WRK extensions.

 The .WRK files are text files with this format:

        First line:   The destination server (this entry is not used,
                      since NetMail uses the SMTP server defined in the
                      configuration)
        Second line:  The email address of the sender.
        Next lines:   The recipient email address(es), one address per line.

 The .TXT files are text files containing the raw message. They must contain
 a valid message header, and the body (your message) separated by a empty
 line. For more information check RFC-822, and RFC-1745.

 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!


 NetMail releases log
 ---------------------------------------------------------------------------

 NetMail 95 2.11                                                   29/07/98
 % Fixed a really important bug: No blank lines were sent.

 NetMail 95 2.1                                                    20/07/98
 + Existing mails are no longer overwritten, if you use multiple
   copies of Netmail with the same mail directories.
 % Fixed a problem with strange SMTP servers.
 % Fixed an ocasional crash bug when server disconnected.
 % RASAPI32.DLL is no longer needed if you connect by network.

 NetMail 95 2.0                                                    25/01/98
 + Changed the program's name.
 + Improved the setup file.
 + Added flood protection.
 % Some internal bugfixes.

 TransNet Mail 95 1.0                                              01/03/97
 + First version.
 + RAS Support.


 Contact me
 ---------------------------------------------------------------------------

 If you want to comment on anything, write me!

 You can find me here:

        ressl@interactive.com.ar
        ressl@geocities.com

 You can also visit the official NetMail Homepage here:

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


 Legal stuff
 ---------------------------------------------------------------------------

 NetMail 95 is non-commercial freeware.

 NetMail 95 may be freely distributed subject to, but not limited to, the
 following terms: NetMail 95 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 95 as part of a shareware
 distribution, magazine, internet book, CD-ROM, etc. please contact me for
 permission.

 All commercial use interests in NetMail 95 should be directed to:
 ressl@interactive.com.ar, or ressl@geocities.com

 The integrity of the original NetMail 95 distribution file as distributed
 by Marc S. Ressl is essential. NetMail 95 and all of its related files
 must be distributed together in the original format. The NetMail 95
 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 95 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.

