WEB Mailing Lists

Discussion in 'OT Technology' started by Coaxsist, Nov 6, 2009.

  1. Coaxsist

    Coaxsist Re-create... Innovate

    Joined:
    Feb 11, 2008
    Messages:
    1,032
    Likes Received:
    0
    How does one have a simple HTML page in an e-mail display correctly?

    I tried just putting the code into the body of the message, and I just got the code sent to me. :o

    This page will only display an image and some text above and below that.

    Thanks!
     
  2. intrktevo

    intrktevo New Member

    Joined:
    Oct 18, 2004
    Messages:
    5,781
    Likes Received:
    0
    Location:
    UCF
    how are you sending it out? with php you need to include the right readers to format as html
     
  3. Ricky

    Ricky █▄ █▄█ █▄ ▀█▄

    Joined:
    Jun 17, 2005
    Messages:
    38,767
    Likes Received:
    6
    Dont send as "plain text" on your mailing client :dunno:

    Should be an option for plain text, html or both.
     
  4. 2ofdem

    2ofdem OT Supporter

    Joined:
    Jun 17, 2003
    Messages:
    114,853
    Likes Received:
    8
    Location:
    aus.vic.mel
    content-type in the header needs to be changed.
     
  5. Coaxsist

    Coaxsist Re-create... Innovate

    Joined:
    Feb 11, 2008
    Messages:
    1,032
    Likes Received:
    0
    Ok, how can I use php to change the content "id" in the headers? Free site somewhere? Do any of cPanel's email clients support choosing between plain text and html? Yahoo doesnt... :dunno:
     
  6. Coaxsist

    Coaxsist Re-create... Innovate

    Joined:
    Feb 11, 2008
    Messages:
    1,032
    Likes Received:
    0
    Thanks.

    So in the actual email itself, I type in:
    Code:
    <?php
    mail($headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
    ?>
    
    And then I just copy paste in the HTML?

    Or do I need to structure the entire message like the examples here?: http://css-tricks.com/sending-nice-html-email-with-php/
     

Share This Page