Hi, thanks for looking,
I'm having some issues. I'm trying to send email using a mail() function on my site, and I'm trying to dynamically include images based on their absolute URL on the web. It looks like this:
$banner = "$numFields<a href=$link><img src=$image></a>\n\n\n\n";
$message = $banner.$message;
mail("$recipient", "$subject", "$message", "From: $senderEmail");
The problem I'm encountering is that when the email arrives at my Yahoo! account, the entire HTML code is displayed, and it doesn't interpret it. As a consequence, the image is not displayed; it merely contains a link to the image, since yahoo automatically creates a link based on the contents of the $image variable (and absolute reference to a picture).
Do you have any suggestions for how to circumvent this? How can I get PHP to mail beautiful, nice HTML emails? Thanks!