html emails in php
Posted: Tue Aug 23, 2005 10:58 am
I have got a sign up form for a guestlist and use
I want this is be a html email, or if not just to be able to attach a siganture from an image on the website to be included in the email, Im not sure if i can even use the above format. I used the above since the form fields feed into a database. Any ideas?
Code: Select all
<?php
if (isset($_POST['Submit'])) {
$from = "From: Guestlist@domain.co.uk";
$to = "".$_REQUEST['Email']."";
$subject = "You are now registered to attend our event";
$body = "
";
mail($to, $subject, $body, $from);
}
?>