adredz Posted December 1, 2009 Share Posted December 1, 2009 as the title says how? I know how to make a form but when I click the send button my outlook mail client pops up. how do I do it without requiring for a mail client? I know this is pretty basic that's google doesn't know it? Please help... Here's my sample code: <CENTER> <FORM METHOD=POST ACTION="mailto:someone@$nailmail.com" ENCTYPE="text/plain"> <INPUT TYPE="text" NAME="username"> : name <BR> <INPUT TYPE="text" NAME="email"> : email <BR> comments <BR> <TEXTAREA NAME="COMMENTS" ROWS="10" WRAP="hard"> </TEXTAREA> <INPUT NAME="redirect" TYPE="hidden" VALUE="index.html"> <INPUT NAME="NEXT_URL" TYPE="hidden" VALUE="index.html"> <BR> <INPUT TYPE="submit" VALUE="Send"> <INPUT TYPE="reset" VALUE="Clear"> </FORM> </CENTER> <!-- END OF FORM --> Quote Link to comment Share on other sites More sharing options...
haku Posted December 1, 2009 Share Posted December 1, 2009 The reason it pops up your mail client is because you have set the action of the form to your mail address. You need to create a server-side script that will process the data and send it to your mail address. There are free scripts out there, google 'php contact form script' or something like that. And it's not as simple as you are thinking. Quote Link to comment Share on other sites More sharing options...
adredz Posted December 1, 2009 Author Share Posted December 1, 2009 just realised it's not indeed. Quote Link to comment Share on other sites More sharing options...
FaT3oYCG Posted December 1, 2009 Share Posted December 1, 2009 it is if you have sendmail . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.