Log in

View Full Version : forms



Sic
03-28-2009, 05:50 PM
Not sure what I'm doing wrong. I've created a form but everytime I enter text in the boxes to test and click the submit button my email programme opens instead of routing through my server.......I'm not very techie, so any help would be welcome, thanks

Snookerman
03-28-2009, 05:54 PM
Please post a link to the page on your site that contains the problematic script or attach your code so we can check it out and help you.

Sic
03-28-2009, 09:10 PM
Ok, here it is, thanks


http://www.sheryls-place.com/forms/form.html

Snookerman
03-28-2009, 09:18 PM
That is because your form action is a mailto:

<form action="mailto:sheryl@ccallard.wanadoo.co.uk" method="post">
What you want to do is send the data to a file (usually PHP) that will send the mail. Google for "PHP contact form" and you will see how to do it if you don't know.

Good luck!

bluewalrus
03-29-2009, 04:58 AM
As Snookerman has stated here that is because you have used the mailto function which opens the browsers default settings for mailing which is mail in most cases for mac and outlook for windows. However with a php script it will mail for you regardless of the browser defualts because it is mailing through the server http://www.ibdhost.com/contact/ (I think?).

Sic
03-29-2009, 10:18 AM
Thanks both Snookerman and bluewalrus. I thought it had to be connected with the my email link but wasn't sure what I needed to do.
I will check out the link, thanks for your quick responses too.