Can anyone help me out?
I'm trying to send html emails
<textarea name="letter">
<table>
<tr><td>
<a href="http://www.mysite.com" target="_blank">
<img src="http://www.mysite/header.jpg" border="0"></a></td>
</tr>
<tr><td>
<!--Write content here -->
Different content can go here
<!--Write content here -->
</td></tr>
<tr><td>
<br><br><img src="http://www.mysite.com/footer.jpg" border="0"></td>
</tr>
</table>
</textarea>
$email = $row["userid"];
$subject ="Email";
$message ="$letter";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: email@mysite.com' . "\r\n";
mail($email, $subject, $message, $headers);
I receive an email and the basic html is ok, such as making words bold, but none of the styling seems to work and the images are broken.
When I click on the broken image link at the top I get this error message '
Mail was unable to open the URL “x-msg://43//%22”. No associated application could be found.'