PDA

View Full Version : Submit button help



lingping007
16 Jun 2008, 09:54 AM
Hi, im just wandering what's the code for a "Submit" button so that when you click it, it opens up there default mail program and automatically enters my email address in the "Mail to:" column.

Thanks,
Andy

EDIT: oh yeah i want it to send me what they typed in the textarea box.

Wickham
16 Jun 2008, 10:54 AM
It isn't code for the submit button, it's code for action="mailto:your-name@hotmail.com" method="post" in the <form> tag

See http://www.wickham43.net/forms.php

You may get a lot of spam doing it this way. The PHP method hides your email so you are less likely to get spammed.