Results 1 to 4 of 4

Thread: HTML Email News letter

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2004
    Location
    Ireland
    Posts
    23

    HTML Email News letter

    Hi all,

    I cant find any scripts that do this how do you sent a HTML email?

    Thanks JoePC

  2. #2
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    PHP Code:
    <? 
    // your message in HTML 
    $msg = " 
    <HTML> 
    <BODY style='font-family:Arial, Verdana, Tahoma; font-size:12px;'> 
    <b>Hi!</b><br>
    You are ugly.  <u>Really</u> UGLY! 
    "; 

    // now add the header 
    $headers = "From: $yourname <$youremail>\nReply-To: $youremail\nContent-Type: text/html; charset=iso-8859-1"; 

    mail("$to", "$subject", "$msg", "$headers"); 
     
    ?>

  4. #4
    Member Comglomo's Avatar
    Join Date
    Jul 2003
    Location
    Pittsburgh, PA
    Posts
    51
    I dont know if you still need help with this, but check in your php.ini that you have all of your SMTP server settings filled out. Without that, it wont send it because there is no server to send it with. You can download free SMTP servers on google, or you could use your ISP's like, Comcast.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width