View Full Version : how to have form resulys from web page emailed to my email??
I am looking at setting up a website with a "contact me" page. I would like people to be able to fill in a form then press the submit button and the information from the form will be emailed to me. I have very little knowledge on how to do this and know very basic html and not much else. Can anyone help me out with this at all please or point me in the direction of a site that is pitched at a very basic level? I have searched for this but all the sites seem to just have.asp code which I know nothing about so finding it very hard to follow.
Any advice at all would be appreciated.
Thanks
try
http://www.w3.org/TR/REC-html40/interact/forms.html
the top example on the page looks like a simple one to get you started. If you want the details to go to your email address then change
action="http://somesite.com/prog/adduser" method="post"
to read
action="mailto:me@myaddress.com" method="post"
Hi,
Thanks for that, I have given it a go, although I would like the details to be emailed to myself without having to open the email client on the users machine, wondering if it is possible to do this in any way?
Thanks for your help
If your webspace has cgi support and you're ok with editing text files, then get a perl script called 'formmail' from mtformmail (http://www.scriptarchive.com/formmail.html)
Its pretty simple to install and configure :)
Who are you hosting your site with? All the ISPs I've been with have always provided a script that will handle this for you. You simply direct your form at the appropriate page and they will then email the details to you, and the site will then forward the user to a "form submit successfully" page, usually of your choosing.
Ian
Thanks to all for the help, I am currently using tripod for the hosting just while I have a play around, I shall have a go with the methods suggested.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.