html in emails i need help

zynischen

New Member
Messages
38
Reaction score
0
Points
0
i got my sample code

HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
</head>

<body>
<div>
  <table width="1000" border="0" align="center" bgcolor="#202020">
    <tr>
      <td background="file:///D|/Darkened sky server/dark/main_images/hedder2.png"><img src="file:///D|/Darkened sky server/dark/main_images/logo.png" width="617" height="119" /></td>
    </tr>
    <tr>
      <td><p class="style1">DarkenedSky NewsLetter</p>      </td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td><span class="style1">The all new site on the web come and have a look and tell your friends</span></td>
    </tr>
  </table>
</div>
</body>
</html>

wat do i need to do to get it to view like it should insted of a bunch of code

i know its a question that noobs would ask but it would be helpful if people gave me some help

(dont point out that the images are on the hardrive, i know that i will upload them later)

thanks
 

callumacrae

not alex mac
Community Support
Messages
5,257
Reaction score
97
Points
48
There's something you need to put in the headers to tell it to be HTML:
Code:
$headers = 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
 
Last edited:
Top