I’ve created a form in Dreamweaver for my contact page. I uploaded the file and tested the form by filing in the info for each field, then clicking the submit button, where I’m redirected to my thanks.html page. Problem is, when I check my mail, no message appears. This is my first time creating a form page so I don’t know whether this is a HTML or PHP issue. The tech support at GoDaddy has been useless regarding this issue. Has anyone had issues with GoDaddy PHP or knows how to solve this problem?
This will be a problem with your PHP file. Normally it will be set up to send the message, sender’s email etc with the email, so make sure that’s set up properly.
This is a PHP question, so if you need more help, click the little orange flag in the bottom left of this post and request that the thread be moved to the PHP forum. In that case, post your PHP file too, so that people can tell you what’s wrong.
Or you can PM your PHP code to me, if you prefer, and I’ll have a look, although I’m no expert in this. Looks like it’s pretty simple to fix, though.
PS: I think your form fields are too black. They are hard to distinguish and may confuse many users. I also wouldn’t put a naked email address on your page either, unless you LOVE spam.
More needs to occur than just submitting a form to a page, for the form to be emailed to you.
The php page that receives the form will need to retrieve the form data that was posted to it, put that data together as appropriate email content, and then send an email to an appropriate location with the content.
Here’s an appropriate tutorial to help get you started.
Thanks ralph.m and pmw57 for getting back back to me. The problem is solved. Apparently, there was a delay receiving email at my GoDaddy account. When I check the account this morning, i had five messages in my inbox.
Also, in my code, I previously omitted a name tag in the textarea field. But all is great now!