[Cialug] E-mail response
Jim Asbille
cialug@cialug.org
Tue, 08 Mar 2005 22:51:24 -0600
David Stout wrote:
> I have a web form and when the user clicks the submit button I would
> like to have it send the contents of the form to an e-mail address.
> Can this be done in HTML?
>
>
> David Stout
> Business Forms Analyst & Student
>
> ------------------------------------------------------------------------
> Celebrate Yahoo!'s 10th Birthday!
> Yahoo! Netrospective: 100 Moments of the Web
> <http://birthday.yahoo.com/netrospective/>
What you want is a "mailto" link. Example follows:
<html>
<body>
<p>
This is a mail link:
<a href="mailto:someone@gmail.com?subject=Hello%20again">
Send Mail</a>
</p>
<p>
<b>Note:</b> Spaces between words should be replaced by %20 to
<b>ensure</b> that the browser will display your text properly.
</p>
</body>
</html>
--
Jim Asbille, MSM
"The box said that I needed to have Windows 98 or better...
so I installed Linux."
--- LinuxNewbie.org