View Full Version : Submitting a form to e-mail address
Chanty
06-12-2007, 10:46 AM
Hi,
Can someone help me with the code to submit a form to an e-mail address?
Thanx
chechu
06-12-2007, 01:19 PM
<FORM METHOD="post" ACTION="mailto:you@yourdomain.be" ENCTYPE="text/plain">
<INPUT TYPE="submit" VALUE="send" style="width:100px;">
djr33
06-12-2007, 07:08 PM
That will work, but only if the user has their default email program setup and working, and they choose to send with it. I'd suggest looking into (slightly more complex) a free form mailer (google that), or creating your own PHP mailform. The last option is complex, but it would be the best.
chechu
06-13-2007, 09:20 AM
Indeed, php is the best.
To help you out: here are a few threads about php mail form.
http://www.dynamicdrive.com/forums/search.php?searchid=1628711
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.