Parsing form results in HTML

Discussion in 'Programming' started by jenjen212, Oct 20, 2005.

  1. #1
    I have a web form that I designed. I need to have the results emailed. Right now, the results are being emailed in text format. But I would like to have the results parsed into HTML.

    I am using IIS 6.0.

    Any help that anyone could provide on how to do this? :confused:

    Thanks a mil!

    jen
     
    jenjen212, Oct 20, 2005 IP
  2. smo

    smo Well-Known Member

    Messages:
    41
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    123
    #2
    It is not clear that you are using ASP or PHP on IIS. For sending mails in html format in PHP I add this header.

    $headers .= "Content-Type: text/html; charset=iso-8859-1\n";

    This is part of other headers that I add ( to , from , on error etc ) to the variable $headres.
     
    smo, Oct 24, 2005 IP