I have the following code to send an email:
- Code: Select all
$pid = $row['pid'];
$password = $row['password'];
$name = $row['name'];
$message = "
Hi," .$name. "<br>
You or someone using you FCA Pilot ID has requested your password your deatils are as follows:
------------------------------
Pilot ID:" .$pid. "
Password:" .$password. "
------------------------------
Regards
FCA Virtual Staff
This is an automatically generated message, please dont reply to this email";
$from = "From:no-reply@fcavirtual.co.uk";
$to = $row['email'];
$subject = "Your Details";
mail($to,$subject,$message,$from);
}
I want to change the color and font etc of the text and also add a picture before the message,
if i add normal HTML then this shows in the email and i dont want it to, i really havent got a clue how to do it, any help would be great!


