View Full Version : how to send form content by email

12-24-2006, 02:48 PM
One question I am frequently asked is how to send form content by email using only HTML or JavaScript/ vbscript ...

12-24-2006, 06:47 PM
<form action="mailto:a@b.com">
<textarea cols="15" rows="12">
Bla bla bla bla bla bla bla

12-24-2006, 08:34 PM
That wont work in all modern browsers as the mailto: is an instruction to open the locally running email program. For sending emails that work in all browsers you either put the mailto: in a link so that the person can create the email themselves or use a server side form2mail script to translate the form into an email. If you can't install server side scripts then you can use one hosted by a third party such as Bravenet.