i have mad a custom SUCCESS page and have no problems when a successful email is sent. I found some codes for a FAILURE page, and it is almost identicle to the SUCCESS page, here are both snippets:
I just put the cnn address in there for testing. I havent uploaded the FAILURE to my server, because it doesnt seem to work, i still get the default message. In the form, there are 4 required fields, so when someone doenst fill in one, and goes to send the email, I want them to go to a custom FAILURE page like i created for a successful email. I have tried using all caps in the failure code, etc. Anyone have any suggestions? I am using CGIEMAIL script that was on myserver. Again, everything works properly, i just can't get the failure to route to a custom page like my success page. Any help would be greatly appreciated.
Surely there's something wrong with your backend script (CGIEMAIL). After all, it is this script that will decide whether there is success or failure and thus what page to show the user.
Bookmarks