Another mail function question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chris H

    #1

    Another mail function question

    This has been driving me nuts and i didnt have a whole lot of luck finding
    the info on google either, maybe i was just not querying it correctly..
    anyway

    I would like to have my mail sent & received as HTML formatted, is there
    some special type of header or mime type that needs to be set in the mail()
    function.. And if so what would be the correct format for doing so


  • Carl Vondrick

    #2
    Re: Another mail function question

    Chris H wrote:
    [color=blue]
    > This has been driving me nuts and i didnt have a whole lot of luck finding
    > the info on google either, maybe i was just not querying it correctly..
    > anyway
    >
    > I would like to have my mail sent & received as HTML formatted, is there
    > some special type of header or mime type that needs to be set in the
    > mail() function.. And if so what would be the correct format for doing so[/color]
    Make the headers this:

    MIME-Version: 1.0\r\nContent-type: text/html; charset=iso-8859-1

    Then HTML will work.

    Comment

    Working...