*****************************************************
* EZNewsletter V2.5 copyright 2006 by Steve Frazier *
* www.htmljunction.net                              *
*                                                   *
* You may modify and distribute this script as      *
* long as this readme.txt with the copyright header *
* remains with it.                                  *
*****************************************************

*****************************************************
*                #SECURITY NOTICE#                  *
*  I STRONGLY urge you to either rename the         *
*  database or put the database in a folder         *
*  outside your root folder.                        *
*                                                   *
*  If you dont, you run the risk of someone         *
*  accessing your database and getting your         *
*  login info.                                      *
*                                                   *
*****************************************************  


***************Installation*********************

Open up the CommonCode.asp file located in the "common" folder and make the following changes

DO NOT CHANGE THEM HERE, THESE ARE EXAMPLES ONLY!

  **Change to the title of your site IE: "HTMLJunction"**
  strSiteTitle = "Your Site"
  
  **The address to your website WITHOUT "http://"**
  strDomain = "www.yoursite.com"
	
  **Change to your mail server**
  smtpServer = "mail.yoursite.com"
  
  **Change to your email address ON the mail server above**
  fromAddr = "you@yoursite.com"
  
  **Select your email component (CDOSYS is the default)**
	** to select a componet remove the single Quote mark ' from in front of it
	** make sure the rest have the Quote mark in front of them
	** CDOSYS is already selected
  mailComp = "CDOSYS"
  'mailComp = "CDONTS"
  'mailComp = "JMail"
  'mailComp = "ASPMail"
	'mailComp = "AspEmail"
	
	** Do you have ASPUpload installed for the Image feature?
	** You can still use the rest of the EZNewsletter features
	** change this to "yes" or "no" - default is "no"
	strASPUpload = "no"
	
	
	** folder where the script is - default is "/newsletter/"
	** change this if you rename the "newsletter" folder and/or put it in another folder.
	strDir = "/newsletter/"
	
	** one more time but with the slash reversed *NOTE* - no begining slash
	strFolder = "newsletter\"
	
	
	** database paths - the path to your databases, must be a "machine" path IE: starts with - X:\  Where X is the drive letter
	** where the script is.  If you dont know what it is ask you web hosting provider. If you are on a "Unix" server then stop right 
	** now and delete this script because it will only work on a "Windows" server!
	
  strDBPath = "C:\path\to\newsletter\datastores\newsletter.mdb"
	strAdminDBPath = "C:\path\to\newsletter\datastores\admin.mdb"

  
  ** Customize the footer that gets inserted at the bottom of the newsletter - please be careful when editing
	** HTML
  strHFooter = "<br><br>If you would like to be removed from this mailing list - Click on the link below." & _
               "<br>Or Copy and Paste to your browsers address bar" & _
	             "<br><br><a href=""http://"&strDomain&strDir&"common/process.asp?cancel=now"">" & _
			         "Cancel</a><br><br>" & _
			         "Thanks<br>" & strSiteTitle
	** TEXT  
  strTFooter = vbcrlf&vbcrlf& "If you would like to be removed from this mailing list - Click on the link below." & vbcrlf & _
               "Or Copy and Paste to your browsers address bar." & vbcrlf & _
			         "http://"&strDomain&strDir&"common/process.asp?cancel=now"

  
************************************************************************

The Purge Database button will delete all unconfirmed entries more than 7 days old.

If you know HTML you should be able to customize this script to fit your website

***************Login Info*********************************************
*************NOTE********************
You MUST have cookies enabled to login to the admin section!!
To login to the admin section point your browser to: 

/newsletter/admin/login.asp

The Default Name AND Password is:  admin

you can and should change it when you first log in...There is a link for it.


If you know ASP I have included a subroutine called: Newsletter_1  in the CommonCode.asp file
So you can include it in your ASP pages for users to subscribe.

Otherwise the newsletter.asp file contains the form for users to subscribe.



If you have any questions or comments please visit my forum:
http://www.forum.htmljunction.net/


I can install any of the EZcodes for a fee.
If you would like some custom ASP coding done I am available and I charge reasonable prices

Please contact admin@htmljunction.net




Change Log: 

V2 -
  1. Has Password protected admin section.
	2. fixed some bugs and cleaned up the code somewhat.

V2.5 -
  1. Added Image Upload
	2. Added "Add Address" ablility
	3. changed the layout a little 
