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 --> Link to comment https://forums.phpfreaks.com/topic/183511-how-to-make-a-form-and-sends-its-content-without-using-a-maillclient/ 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. Link to comment https://forums.phpfreaks.com/topic/183511-how-to-make-a-form-and-sends-its-content-without-using-a-maillclient/#findComment-968638 Share on other sites More sharing options...
adredz Posted December 1, 2009 Author Share Posted December 1, 2009 just realised it's not indeed. Link to comment https://forums.phpfreaks.com/topic/183511-how-to-make-a-form-and-sends-its-content-without-using-a-maillclient/#findComment-968668 Share on other sites More sharing options...
FaT3oYCG Posted December 1, 2009 Share Posted December 1, 2009 it is if you have sendmail . Link to comment https://forums.phpfreaks.com/topic/183511-how-to-make-a-form-and-sends-its-content-without-using-a-maillclient/#findComment-968767 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.