SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Dec 2008
    Posts
    119
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP mail form with bold fields

    I would like to create a PHP form to send an email to some addresses. I know how to do it simple, but I would like that some fields to be bolded in the email. Anyone could help? Give me a hint?

  2. #2
    SitePoint Enthusiast
    Join Date
    Mar 2009
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    $strHeaders = "MIME-Version: 1.0\r\n";
    $strHeaders .= "Content-type: text/html; charset=iso-8859-1\r\n";

    Put that in the headers for the email() function in php.?

  3. #3
    SitePoint Addict
    Join Date
    Jul 2008
    Posts
    213
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It is mail() function


Bookmarks

Posting Permissions

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