+ Reply to Thread
Results 1 to 2 of 2

Thread: html in emails i need help

  1. #1
    zynischen's Avatar
    zynischen is offline x10Hosting Member zynischen is an unknown quantity at this point
    Join Date
    Nov 2007
    Location
    23 the digital super highway, Western Australia
    Posts
    38

    Talking html in emails i need help

    i got my sample code

    HTML Code:
    <!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
    all those who wanna follow a leader like sheep, follow me, the new leader... the world is gonna change because of me


  2. #2
    callumacrae's Avatar
    callumacrae is offline not alex mac callumacrae is just really nice
    Join Date
    Dec 2007
    Location
    Wellesbourne, England
    Posts
    5,162

    Re: html in emails i need help

    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 by callumacrae; 05-17-2008 at 04:38 AM. Reason: added code
    I can customise your phpBB board. Send me a PM.
    lynxphp - info, tutorials and scripts
    "A forum post should be like a skirt; long enough to cover the subject but short enough to keep things interesting."

+ Reply to Thread

Similar Threads

  1. A HTML + CSS Basic Tutorial
    By Zenax in forum Tutorials
    Replies: 14
    Last Post: 09-02-2011, 01:42 PM
  2. Hybrid's HTML Lessons
    By Hybrid in forum Tutorials
    Replies: 18
    Last Post: 11-28-2009, 02:12 PM
  3. [IPB] Contiguous Board Index
    By phenetic in forum Tutorials
    Replies: 5
    Last Post: 09-18-2005, 10:31 AM
  4. What is XML!
    By wizeman in forum Tutorials
    Replies: 6
    Last Post: 08-27-2005, 12:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers