Hi, I wrote a php form and when I look at the confirmation email.... 2 things happen.
- My logo dipslays as a link... I want it to be an image...
- All the html tags display with the content that is meant to show... I don't want to see the tags, I want to see the content/message...
So how do I fix these 2?
here is the code that is responsible for all of this...
<?php
$sendto = $_POST['email']; // this is the email address collected form the form
$subject = "email confirmation"; // Subject
$message_client = "We are confirming your inquery...";
$header = "From: myemail@gmail.com\r\n";
$header .= "Reply-to: myemail@gmail.com\r\n";
$v2 = "
<html>
<body>
<img src= 'logo.png' />
<h3>Hello $first_name, your form has been submitted! We will review it and get back to you as soon as possible!</h3>
</body>
</html> ";
$message_client = $v2;
//end of message
$headers = "From: $from\r\n";
$headers .= "Content-type: text/html\r\n";
mail($sendto, $subject, $message_client, $header);
?>