Submit to e-mail

Soldato
Joined
19 May 2005
Posts
6,896
Hi,

I've created a online form but I have no idea how to setup a submit button.


What I want to happen is when the user presses submit a e-mail is sent to me with the form attached.

the form is here

any help would be really appreciated
 
^ the above will attempt to open up the mail client on the user's computer.

What you really want to do is set the action to point to a script on the web server, which will send an email in the background, without further interaction from the user.
 
<?php
if (SERVER_REQUEST['METHOD'] = 'POST') {
mail(); //http://php.net/manual/en/function.mail.php
} else {
echo "Uh Oh!!";
}
?>
Or just use Nathan's without caps.
 
Back
Top Bottom