FormMail FAQ

Frequently asked questions about the FormMail CGI script.

Q1: Everything works, but I don't receive the data.

Short Answer:

Check your mail path.

Long Answer:

This often happens because of one of two problems:

Q2: Can I have multiple recipients?

Short Answer:

Yes.

Long Answer:

Put multiple e-mail addresses in the recipient field, separated by commas:

<input type="hidden" name="recipient"
       value="[email protected],[email protected]">

Q3: The redirect command won't work.

Short Answer:

There's a bug in the URL validation.

Long Answer:

The script checks that the URL starts with http://. If your URL doesn't start with that, you have two options:

Option 1: Fix your URL

Make sure your redirect URL starts with http:// or https://

Option 2: Modify the script

Find line 204 and remove the URL check

To modify the script, find this line (around line 204):

if ($CONFIG{'redirect'} =~ /http\:\/\/.*\..*/) {

Change it to:

if ($CONFIG{'redirect'}) {

This will accept any URL or URI in the redirect field.

Related FAQs

Guestbook FAQ

Questions about the Guestbook script

WWWBoard FAQ

Questions about the bulletin board

All FAQs

Browse all script FAQs