The code I'm using is at this link:
http://www.dynamic.ie/sourcecode/formtomail.asp
I've created 2 seperate files:
- formmail.asp
- testform.htm
And modified the fields as instructed.
I have an index.html with an image linked to testform.htm
I also have a thankyou.html for the redirectpage after you click on submit in the form.
Now, when the window of the testform.htm pops up, the form is there.
I enter an email address in the text field and hit submit. When I hit submit it redirects me to this page:
"http://mydomain.com/formmail.asp?email=me@myemail.com&Submit=Submit&re cipient=me@myemail.com&subject=Newsletter+Sign+Up& redirect=thankyou.html&required=email"
and gives me the following error:
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
--------------------------------------------------------------------------------
Please try the following:
If you typed the page address in the Address bar, make sure that it is spelled correctly.
Open the mydomain.com home page, and then look for links to the information you want.
Click the Back button to try another link.
HTTP 404 - File not found
Internet Information Services
--------------------------------------------------------------------------------
Just to let you know, I changed the domain name and my email address in the example above, but the rest is the exact error.
Now I have a home server I'm trying to make this work with. I'm running IIS and I followed instructions on this page -
http://www.asp101.com/wrox/asp2samp/2459ch01.asp to make ASP work with IIS.
Can anyone shed some light? What am I doing wrong?
Any help would be appreciated.
Thanks!