Click to See Complete Forum and Search --> : Form Submission Trouble - Activates Outlook Express?


ddreamer1984
11-12-2005, 12:03 AM
I'm using the mailto option for the action attribute of the form, but every time I hit submit, it tells me that the recipient will be able to view my email address and then it activates my default email. I don't get it. I'm just trying to submit the form to an employer's email. Can someone help please? :confused:

NogDog
11-12-2005, 12:10 AM
That's what a mailto: type of link/action does, it attempts to use the default email client on the user's machine. If you want the web host to do the mailing, then you need to use the post method and an action that calls a script on the server side that will accept the form inputs and call the sendmail program on the server.

ddreamer1984
11-12-2005, 12:30 AM
Can you give me an example? This form is for a very small bridal company, and they don't have their own server. Would you suggest I stick with the mailto option? :confused:

NogDog
11-12-2005, 01:38 AM
Depending on the web host you are using and the specific hosting plan that's been purchased, you may have any of a number of server-side scripting options, from ASP to PHP to Perl, and others. You'll need to check with the host provider to find out what your options are. They might even already have a general-purpose mailto script or CGI program you can use, with instructions on how to call it. If not, there are a many open-source scripts out on the web you could download and use. Or, you could just stick with the mailto option.

ray326
11-12-2005, 04:41 PM
I would NEVER recommend sticking to the mailto: option. Good form/mail handlers are available free all over the place.

ddreamer1984
11-12-2005, 05:49 PM
Hey Ray, could you explain these form/mail handlers in a little more detail? And where I could find them?

ray326
11-12-2005, 06:02 PM
If you have CGI and Perl available then this is my favorite.

http://www.bignosebird.com/carchive/bnbform.shtml