Newsletter script use
This script simply takes all the input from a web "form", and emails it to the address set by the website owner. The simplest use is for an email newsletter subscription request -- make a form requesting their email address, and call this script.

Sample script:

  <form action="/cgi-bin/" method="POST">
    email address:
    <input type="text" name="email" size=60>
    <input type="submit" name="submit" value=" Ok ">
This sample would send an email something like this:
From: (web server)
Subject: newsletter request

All form data fields will simply be listed, one per line, in the order they are received (governed by the web browser).

The address to whom this email is sent is governed by your websites "order.cfg" file which is on your website in the "data" dir -- the "NewsLetterEmail value. Also used are the "BodyParms" and "MailServer" values. The should have been set up when your account was set up and should not need to be changed. The former can be used to make the script output pages integrate better with your site by setting your background appropriately.

Special stuff:

Don't hesitate to call if you have problems with it. Contact us.

Page last updated: 14-Nov-2000

Copyright © 1997-2021 Vintners.Net (running on host pedicel)