www.webdeveloper.com
Results 1 to 2 of 2

Thread: Bold text in php email()

  1. #1
    Join Date
    Aug 2007
    Posts
    2

    Bold text in php email()

    I need to make certain text bold in an email sent via the standard mail() php function from a form.

    I tried using html tags but they just came up in the email itself.

    Can someone advise me. many thanks

  2. #2
    Join Date
    Aug 2007
    Posts
    2

    resolution

    I got round it by adding this into the headers for the email() function in php.

    $strHeaders = "MIME-Version: 1.0\r\n";
    $strHeaders .= "Content-type: text/html; charset=iso-8859-1\r\n";

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles