Well, your submit code is JQuery, not PHP. So, not sure how this would be done with your code.
But, here is some sample PHP code to send out an email. It is designed to pull a couple fields
from your form and send them inside of an HTML email. Note, since the email is an HTML version and
not just a TEXT email, you can program in a lot of nice graphics and the such. Note that the logo
is a graphic and must be stored on your server. This is just sample code, you need to work up your
own version and post your form with the correct data…
[php]
<?PHP
// Set up email and mail to one address for testing...
// Grab data from the input fields on the form...
$name = $_POST['name'];
$address = $_POST['address'];
// Just two fields for testing... Not yours I made this page up...
// Email Subject
$subject = 'Important message from Ernie...';
// Email Address
$email = '
[email protected]';
// Email Message
$message = '
Welcome to our new website, ' . $name . ' !
We have your address as: ' . $address . '

';
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'To: ' . $email . '\r\n';
$headers .= 'From: Important Message the world of Ernie! ' . "\r\n";
// Mail it
mail($email, $subject, $message, $headers);
?>
[/php]
I used this same code to explain to another newbie on the site. It should give you an idea how to send
an email with many of the common options that you might need. Hope that helps…