Hi, I am attempting to connect a form in Dreamweaver to an email account via a ftp webspace. I have the following generic code, (HTML form and PHP mail file) but I am not receiving emails... Would anyone have an idea of what I have done wrong and/or provide any insight to correct this problem?? Thank you in advance.
I don't see any ftp or dreamweaver relevant code here but i will build you a new code which works brilliantly for me. you need to specify a content type for html coding to work. and an id tag to retrieve the post variables
you should modify it to suit plus i would suggest using spry validation to check email is an email or people can get you in a lot of trouble. also it helps to prevent php injection. to insert spry click insert -> form -> spry validation text field once inserted click on the box and change properties type -> email required and enforce pattern. hope this helps :)