The redirect command won't work

Short Answer

There's a bug in the URL validation code.

Long Answer

When the code was written, it checks for basic URL syntax before redirecting, ensuring the URL starts with http://. If your URL doesn't start with that, you have two options:

Option 1: Change Your Redirect URL

Make sure your redirect URL starts with http://

Option 2: Modify the Script

Open FormMail and find this line (line 204 in standard distribution):

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

Change it to:

if ($CONFIG{'redirect'}) {

This removes the URL validation and allows any URL or URI in the redirect form field.

FormMail FAQ All FAQs