
To install WebMail we recomend you run 'install.exe'. This will start the 
gui installation program to guilde you through all of the installation steps.

There are manual installation instructions to setup WebMail below, but we 
recomend you use the installation program instead.


Leagalese:
By installing WebMail you are agreeing to all of the terms and conditions
stated in the license.txt file included in this distribution.
You can find an online version of the licence agreement at:

http://netwinsite.com/license_all.htm

***********************************************************************
******************************  WebMail  ******************************
***********************************************************************

Contents:
	Introduction
	Templates
	Distribution
	Installation Instructions

Introduction:
-------------

	Thank you for choosing WebMail as your Web Based Mail Client.

	WebMail requires you to have a Mail Server that uses POP3 or IMAP4.
	
	The online manual for WebMail can be found at:
	
	http://netwinsite.com/webmail/webmail.htm

	For any support questions or issues please EMail:

		<support-webmail@netwinsite.com>


Templates:
----------
	
The distrubution set contains a few different template sets.  These are in:
	webmail/tpl/NAME
where NAME is the name of the template set.  For the purposes of this installation
choose a single template set and only copy files from inside that directory.
See the online manual for instructions on how to set up multiple templates
	http://netwinsite.com/webmail/webmail.htm


Distribution:
-------------

	In the distribution that you have download and extracted there 
	should be the folowing files and directories.

		webmail.exe 		This is the CGI script
		webmail.ini		ini file for WebMail

		tpl (directory)		This has the default template sets for WebMail
		img (directory)		This has the Default image sets for WebMail


Installation:
-------------

	To install WebMail you must copy the webmail.exe and webmail.ini files to
	your CGI directory on your WEB server.

	On your WEB server you should have already setup a directory to contain
	CGI programs. You should read your WEB server documentation if you don't 
	know how to setup a cgi-bin directory. Typically you would copy the files to a 
	directory like: 

		"\FrontPage Webs\Content\cgi-bin"
		or c:\inetpub\scripts
	        or \SERVER_ROOT\cgi-bin


	NOTE: 	In your webserver configuration, the CGI directory should only have execute 
		permissions. It should not have read permissions otherwise.


	The next step is to setup a templates directory somewhere on your system.  This 
	folder should ONLY be used for WebMail, not for a combination of products.
		eg.	c:\webmail

	Into this directory you should copy all the files from the directory 'tpl\NAME'
	from the distribution. These files have the Extension '.tpl'. There are also 
	some other data files that have the extension '.dat'. You will also need to copy 
	all of the files from 'tpl\common' in the distribution into template directory 
	(if you are setting up multiple template sets, then the files in tpl/common will 
	needto be copied all of your template directories).

	Next the images are to be copied. Currently the default templates presume that
	the images are in a relative directory '/nwimg/mail' on the web server.

		ie. Physical directory:			
			c:\inetpub\wwwroot\nwimg\mail
			\SERVER_ROOT\html\nwimg\mail

	Example:
		download the self extracting archive from netwinsite
		webmail10h.exe		# Unzip the self extracting archive to \wmtemp
		cd \wmtemp		# Change to temporary unpack directory
 
 		mkdir \webmail		# Create a directory for templates
		mkdir \inetpub\wwwroot\nwimg 		# Create a dircectory for image files
		mkdir \inetpub\wwwroot\nwimg\mail	# Create a dircectory for image files

		copy webmail.exe "\inetpub\scripts"	# Copy cgi 
		copy webmail.ini "\inetpub\scripts"	# Copy ini

		copy tpl\NAME\* \webmail	# Copy docs templates etc to destination
		copy tpl\common\* \webmail	# Copy docs templates etc to destination
		copy img\NAME\* \inetpub\wwwroot\nwimg\mail	# Copy image files
		del  \wmtemp         	# Clean out temporary directory
	Note: webmail.ini must be in your cgi-bin directory with webmail.exe
	

	Now the webmail.ini needs to be updated with your system details.
	You can use any standard text editor.

		eg.	notepad "\inetpub\scripts\webmail.ini"

	Make sure you define the following things for your site in your webmail.ini

		pophost		your.pophost.here
		smtphost	your.smtphost.here
		templates	c:\webmail
		domain		your.domain.here
		nwimg		/nwimg/mail

	Now try referencing WebMail from any web browser using a URL similar to:

		http://your.web.server/scripts/webmail.exe

	You should also try the following URL test page to assist in locating any
	problems:

		http://your.web.server/scripts/webmail.exe?cmd=test


	The WebMail manual can be found at the URL:

		http://netwinsite.com/webmail/webmail.htm

	For more detailed information about installation problems and other questions,
	please don't hesitate to contact our WebMail support team at: 
		
		support-webmail@netwinsite.com