A
Anonymous
Guest
hey i have this php scipt after a form page..
that all works perfectly but i have a small image i want to include on the top of the email sent to the person.... heres the
image...
i tried using include but it would actually print include in the email.. how should i do this? thanks
Code:
<?
$email_from = "getinfo@happydogbehavior.com"; // Who the email is from
$email_subject = "Thankyou For Your Intrest In A Happy Dog Class"; // The Subject of the email
$email_txt = "
Hello $firstname,
Thankyou for submitting a form at www.happydogbehavior.com
We hope to see you and $dogsname in on of our Happy Dog Behavior And Training Classes Soon
Ellen"; // Message that the email has in it
$email_to = "***********"; // Who the email is too
$headers = "From: ".'getinfo@happydogbehavior.com';
$ok = @mail($email_to, $email_subject, $email_txt, $headers);
?>
<?
$email_from = "Happy Dog Administrator"; // Who the email is from
$email_subject = "Someone Has Submitted Info"; // The Subject of the email
$email_txt = "
Hey Ellen, Someone has submitted a form on the get info page of the site.
Here is their info.
Name: $firstname $lastname
Address: $address
$city , $state $zip
Phone Number: $phonenumber1 - $phonenumber2 - $phonenumber3
Email: $email
Dogs Name: $dogsname
Dogs Breed: $breed
Dogs Age: $age
Sincerely, Tom
"; // Message that the email has in it
$email_to = "$email"; // Who the email is too
$headers = "From: ".'getinfo@happydogbehavior.com';
$ok = @mail($email_to, $email_subject, $email_txt, $headers);
?>
<? include 'include.htm' ?>
that all works perfectly but i have a small image i want to include on the top of the email sent to the person.... heres the
image...
i tried using include but it would actually print include in the email.. how should i do this? thanks