Click here to Skip to main content
15,884,388 members
Articles / Programming Languages / ASP
Article

Stp Newsletters Manager

Rate me:
Please Sign up or sign in to vote.
2.50/5 (4 votes)
24 Oct 20022 min read 56.7K   1K   27   4
A simple web-based newsletters management tool, using XML to store data.

Sample Image - stpnlman.jpg

Introduction

Well, only the first version, I'm sure I still have many things to do, but it is already working and I thought someone might be interested in such a tool. I made it for myself, to automate and manage newsletters subscription and sending. This tool allows you to make one or more templates and use them to send newsletters to your users via e-mail. All is done without any database, using only XML to store all data. Why I chose to use XML? Well, I don't have any clear answer, I was just curious if I can do this and how. I guess this was the only reason.

Features

  • Templates - You do not need to write the same HTML code again and again. Just define one or more templates and change the text inside them.
  • Subscribers list - Allows to view/delete subscribers.
  • Newsletters archive - View all newsletters that already have been sent
  • Uses either CDONTS or CDO for Windows 2000.

Requirements

  • Web server with IIS 4.x+ installed
  • Microsoft XML Parser (comes with Internet Explorer 5.x or higher)
  • CDONTS or CDO for Windows 2000 (for e-mailing)
  • Write access for directory where all data will be held

Installation instructions

Download and unzip the file to some folder on your hard drive. Open inc_config.asp file in any text editor (such as Notepad). There are only 2 variables that you should change:

  • cfgNLDataPath - Path (relative) to the directory where all XML files with data will be stored. The directory should exist on the server prior to any use of Stp Newsletters Manager. To protect your data from viewing by other people, you should create the folder out of your web space.
  • cfgNLAdminPassword - Your password as administrator. Make sure to change it before you gonna use the software.

Save edited file and upload all unzipped files onto your server and create a directory for storing all data (make sure it has write access). Below is an example of configuration file:

'***** inc_config.asp *****'

'Path where all files, data should be stored. 
'This is a relative path and should exist.
'To protect your data, create a directory out of 
'your web space. Remember that this directory
'should have write permissions
cfgNLDataPath = "../nldata/"

'Administrator password. Make sure to change to your own
cfgNLAdminPassword = "mypassword"

Any other properties can be set under the Settings section. There are actually 3 more: the administrator e-mail, value of the "From" field (which can be a simple e-mail ID or in form like "My Newsletter<webmaster@domain.com>") and the component to use to send e-mails (CDONTS or CDO for Windows 2000).

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Team Leader Varonis
Israel Israel
I was born in small town Penza, Russia, in October 13th, 1975 yr. So my mother tongue is Russian. I finished the school there and learned in University, then I came to Israel and since then, I live there (or here *s*)
My profession is a C++ programmer under MS Windows platforms, but my hobby is Web development and ASP programming.

I started interesting in computers and programming somewere in 1990-1991 yrs., when my father brought home our first computer - Sinclair ZX Spectrum (he made it by himself). So I learned Basic and joined the Basic programmers club at my school (me and my friend were the only 2 guys from all school there, lol). After I finished the school (1992yr) I decided to continue my study at University and got specialization Operation Systems and Software Engineer. Although I still like my profession, but I always wanted something new, thus I learned HTML, Javascript and ASP which turned to be my hobby Smile | :)

Comments and Discussions

 
Questionerror in subscribe form Pin
Camwyn30-Sep-08 9:59
Camwyn30-Sep-08 9:59 
Questionit is asking password??? Pin
ars6-Feb-08 2:16
ars6-Feb-08 2:16 
AnswerRe: it is asking password??? Pin
Philip Patrick6-Feb-08 2:42
professionalPhilip Patrick6-Feb-08 2:42 
Check Installation Instructions section in the article. You should change the default password as well.

Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer

Generalmsxml3.dll Error Pin
rihdus20-Oct-04 23:18
rihdus20-Oct-04 23:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.