I have installed FormMail and it is running fine. I got it all set up except I have made a thank you page that after all has been filled in and then submitted the page should come up . I do not know where to add this in the script.
Anyone can help me with this?
I'm having the same issue. I've installed FormMail on an add-on domain and have a custom Thank You page. It's an .shtml file and I have the code redirecting to the whole address: "http://www.domain.com/thanks.shtml"
Within our article on <a href="http://www.inmotionhosting.com/support/email/send-email-from-a-page/how-to-set-up-formmail">how to set up FormMail</a>, you will see a section labeled <b>Redirecting the page to your own "Thank You" page</b>. In this section, there is a line of code that looks like this:
Is it a <strong>.html</strong> page that you're linking to? Also are you being sure to include a full path to your HTML file including <strong>http://example.com/thankyou.html</strong>?
Without seeing your account itself it's a bit hard to troubleshoot what is possibly going wrong here. I did some searching online and it seems like people having similar issues usually didn't type in the full URL to their page, and instead just left the file name like <strong>thankyou.html</strong>. It would seem that because the <strong>FormMail.pl</strong> script needs to be placed in your <strong>/cgi-bin/</strong> directory, if you don't include the full path to your own thank you page it will attempt to load the file from there and possibly fail.
Also, <strong>yes</strong> the <strong>redirect</strong> input text should go before the <strong>submit</strong> button in order for the form to properly catch the data.
Please let us know if you're still having problems.
Thanks for the additional information. When you try to go to that URL in your web-browser, do you see the thank you page you're intending to see? I do not, and get a <strong>404 not found</strong> error instead.
It's important to remember that on Linux servers which is what your website appears to be running on, that all files and folder names are case-sensitive. So while this page won't work:
Many many thanks
The problem is solved. Having looked at your recommendations I have copied the html file out of the folder and put it into the root. Also changed the link then and now it works
Thanks a lot for that