You can run /nyx/web/cgiemail.sh
to automatically set up
a cgiemail form similar to the description below:
First, create a template file that cgiemail
will use to fill-in
each named field inside the square brackets [] for sending mail:
Note, there must be an empty line after the "From:"
line !
To: username@nyx.net Subject: [subject] From: [name] <[email]> [text]
(In the form below, the template file is named "mailbox.tmp" in the root of your webspace)
Second, set up an HTML-page, that defines a form, containing NAMEd fields, that corresponds to the [bracketed names] in the template above, which cgiemail can distinguish: (You must substitute every occurence of the word username with your own username, and the words "Full Name" with something reasonable.)
<FORM METHOD="POST" ACTION="/cgi-bin/cgiemail/~username/mailbox.tmp">
<INPUT TYPE="hidden" NAME="addendum"
VALUE="Thank you. -<a href="/~username/">Full Name</a>">
From: <INPUT TYPE="text" SIZE="35" NAME="email"> (reply address)
Name: <INPUT TYPE="text" SIZE="35" NAME="name"> (optional)
Subject: <INPUT TYPE="text" SIZE="35" NAME="subject"> (recommended)
Third: test it !