# Perl Support File
# Variables used by ws_mail.cgi
# Variables used by all scripts: /Web_store/ws_global.setup
# File Permissions: 644 -rw-r--r--
# NOTE: If you change the filename of this file, change the value of
# $default_setup_file in ws_mail.cgi to reflect the file's new name.
############################################################################
# ws_mail.setup #
#==========================================================================#
# Copyright (c) 1996 - 2002, RDC Software #
# WebStore@ratite.com http://www.ratite.com/Perl/WebStore.shtml #
# Version: 4.15.00 Date: 01/01/2002 #
# #
# Full copyright notice can be found in the following files for the #
# listed license type: #
# #
# Single User License: /Docs/Copyright_SingleUser.html #
# Server License: /Docs/Copyright_Server.html #
# #
# This copyright notification can not be altered or removed from this file.#
#==========================================================================#
# Backslash all @ signs --> \@ <-- Perl 5 compatibility. #
# Variables containing @ signs must be enclosed in " (double quotes). #
# #
# All other variables are enclosed in ' (single quotes). #
# #
# If the value you store in a variable enclosed in single quotes requires #
# the use of a single quote, backslash the imbedded single quote: #
# #
# EXAMPLE: $global_page_title = 'Joe\'s Auto Parts' #
############################################################################
#--------------------------------------------------------------------------#
# General Settings
#--------------------------------------------------------------------------#
# $dns_lookup - duplicated from ws_global.setup to make nslookup "Strict"
# for WS Mail's mailing list registration form.
$dns_lookup = '1'; # 0 = No, Disable nslookup
# 1 = Yes, Strict nslookup
# 2 = Yes, Passive nslookup
# $global_page_title is used in the
of all HTML pages, and in the
# Subject and Body of generated e-mail messages when a new user registers.
$global_page_title = 'WS Mail';
# $mail_file is the | (pipe) delimited flatfile database consisting of
# e-mail addresses and names.
# Example database record: susan@cgicentral.net|Susan Smith
$mail_file = 'WebStore.list';
# When $server_includes = '1', ws_mail.cgi is being called using a
# server side include exec command:
#
#
#
# The path to ws_mail.cgi supplied in the exec SSI is "relative to"
# the location of the HTML document containing the exec command.
# The mailing list registration form is printed to the HTML document
# within opening and closing tags.
# Using an exec SSI (server side include) prohibits the printing of
# the HTML document's opening , , and tags.
# It also prohibits the printing of the HTML document's closing
# and tags.
# If you use SSI, the setup file in which $server_includes = '1' must
# be defined in $default_setup_file located at the top of ws_mail.cgi
# in the DEFINE VARIABLES section.
# When $server_includes = '0', ws_mail.cgi is being called without the
# use of SSI. The entire HTML document is generated by ws_mail.cgi for
# mailing list registration.
$server_includes = '0'; # 0 = Not using server side includes
# 1 = Using server side includes
# After a subscriber submits his name and e-mail address for addition in
# your mailing list, he is sent to the HTML page defined in $link_page.
# $link_page is an absolute URL which must point to an HTML file,
# either .htm or .html file extension.
# When WS Mail is called from an HTML page within the WebStore environment,
# and your server supplies $ENV{'HTTP_REFERER'} (referring web page),
# and a name=value pair for cart_id= is present in the query string,
# subscribers will return to the WebStore application:
#
# Join our Mailing List
#
# If your server does not supply $ENV{'HTTP_REFERER'}, you must add a
# name=value pair for link_page= to the WS Mail query string in order to
# return clients to the WebStore application:
#
# ws_mail.cgi?link_page=http://www.YourDomain.xxx/Web_store/ws400CS.cgi&cart_id=
#
# If you do not supply a name=value pair for link_page=, subscribers will
# be returned to the HTML page defined in $link_page.
# When WS Mail is called from outside the WebStore environment, subscribers
# are returned to the HTML page defined in $link_page:
#
# Join our Mailing List
# $link_page must be properly defined or the script will generate a
# "Configuration Error" message when accessing the subscription form.
$link_page = 'http://www.ratite.com/400CS/Html/response.ws_mail.html';
# $signature is the signature used in messages sent to new subscribers and
# in messages sent to the entire mailing list.
# Occurrences of ~~FIRST~~ ~~FULL~~ and ~~EMAIL~~ found in $signature
# will be replaced with:
#
# ~~FIRST~~ Subscriber's first name
# ~~FULL~~ Subscriber's full name
# ~~EMAIL~~ Subscriber's e-mail address
# Occurrences of ~~FIRST~~ in $signature are replaced with the full name
# of the subscriber instead of the first name if the full name ends in Co,
# Company, Corp, Corporation, Inc, or Incorporated (case insensitive, optional
# trailing period).
# Setting $signature = '' disables printing the Signature